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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking an EXE file

Status
Not open for further replies.

ninhovid

Technical User
Jul 1, 2003
29
0
0
MX
Hi, i have my main menu in flash MX...
i have 3 options...
2 of them link to an html file... no problem with that...
but i want the 3rd botton to run an exe file (a computer system)...
i don't want Internet Explorer to ask me whether i want to open or save it to disk....
help me please!!! this is an emergency....
thanks a lot!!!
 
fscommand and "exec"...

Read up on it here...


With MX, new restrictions apply... The fscommand subfolder, and batch file to open a specific file...

Regards,

cubalibre2.gif

[bigcheeks] I'm Bill Watson's biggest fan!
[bigcheeks]
 
i didn't work...

i wrote this:
on (release) {
fscommand ("exec", "mysystem.exe");
}

and i have this:
c:/inetpub/ here is my swf
c:/inetpub/ here i copied my system with its exe file

but it didn't work.. it doesn't do anything!!
help please....
 
That's to be used with a projector file.

Regards,

cubalibre2.gif

[bigcheeks] I'm Bill Watson's biggest fan!
[bigcheeks]
 
yeah, it worked...
but i want it as an SWF
is it imposible??
thanks a lot!!!
 
I'm looking to do the same thing. What do you mean it is only to be used with a projector file? I can make a projector file from a swf file by using the Flash player. But when I try using the same code as above to execute the projector file (.exe) nothing happens.
 
It doesn't work with a .swf, to my knowledge, but I'm not an instructor!
Thus if you create a projector from an .swf, rather than outputing the .exe from the application itself, than it makes sense that it wouldn't work also. Untested, but that's what I think!

Regards,

cubalibre2.gif

[bigcheeks] I'm Bill Watson's biggest fan!
[bigcheeks]
 
Which application outputs projector files? Director MX?
 
i think i'll have to do everything with Director MX... it has everything i need...
thanks....

 
Ok I tried executing a projector file I created with Director. But the projector movie doesn't play until I shut down my flash movie. I'm thinking it is trying to use the same window to play the movies (Flash Player 6). Because when I close the flash movie the projector movie starts playing.
 
Within the Flash application itself... File->Publish Settings-> Mac or Windows projector files. Publish!

Regards,

cubalibre2.gif

[bigcheeks] I'm Bill Watson's biggest fan!
[bigcheeks]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top