Fscommand and opening an applications

Hello,

I am working on putting a portfolio on CD and would like to include a video. The video I want to be played by windows media player, but I seem to be missing something. I have a button and have put this code on it…

on(release){
&nbsp &nbsp &nbsp &nbsp fscommand(“exec”, “c://Temp.mplayer2.exe”);
}

I have tried multipe variations of this code but nothing happens.

Matt

You’re not writing the path correctly :

 c<img src=http://www.ezboard.com/intl/aenglish/images/emoticons/ohwell.gif ALT=":\"> Temp\mplayer2.exe

if the file mplayer2.exe is located in Temp.

I don’t know much about fscommand though.

pom 0]

Thanks Pom, but it did not help.

I did find this over at actionscripts.org

filename = “test.pdf”;//variable
fscommand (“exec”, "start " + filename);//line of code for win9x,me
fscommand (“exec”, "cmd /c " + filename);//line of code for winnt, and w2k

One last thing is that you need the file that you to open in the same dir as the file.

All I did was add this code to a button.

Matt