Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fscommand problem 1

Status
Not open for further replies.

prasoon

Programmer
Nov 15, 2002
67
IN
cant get my pps file work with the fscommand in MX, but with the same code it used to work in Flash 5..
any kind of help will be good

regards
 
In MX you have to create a folder namned 'fscommand' under the root where your flash movie exists. In that folder you have to leave the executable file that you want to be run.

This is a security issue from macromedia, so with MX you can´t name a path to the executable you want to be run.
 
thanks sajtz.. one thing more will the code remain the same as earlier (of course the path will change)..
thanks again
regards
 
yep. The best way is to create a .bat file containing the path to your executable. In that way you work around the safety issue, but still keeps the system safety.



on (press)
{

fscommand("exec","your_bat_file_or_your_executable.bat");

}
 
oops. Forgot to tell you that your .bat should be located under your 'fscommand'-folder. In that way you don´t have to move around with your executables (which could really mess up things)

/Petter
 
lol
thanks very much...
i will do that. i was preparing an intro for my class presentation based on matrix reloaded format..just like the movie preview.. the only problem was i had to use fscommand. which was not working.
thanks
 
surprize surprize.. u just got an star...
lol
regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top