Yes, I'm a meganoob.
I'm using flash8 and I've tried this :
quit_btn.onRelease = function ()
{
fscommand(quit);
}
And loads of other things (on seperate frames and on the button), but I can't get it to work. :thumbsdow
Printable View
Yes, I'm a meganoob.
I'm using flash8 and I've tried this :
quit_btn.onRelease = function ()
{
fscommand(quit);
}
And loads of other things (on seperate frames and on the button), but I can't get it to work. :thumbsdow
fscommand("command", "parameters")
command A string passed to the host application for any use or a command passed to the stand-alone Flash Player.
parameters A string passed to the host application for any use or a value passed to the Flash Player.
fscommand("quit");
That didn't work ( I put it in a seperate layer, Heres the code:
stop();
again_btn.onRelease = function(){
gotoAndPlay(2);
}
quit_btn.onRelease = function ()
{
fscommand("quit");
}
hmmm.. i cannot get it to fail
i have a button on the main timeline with instance name - btn
i have the Publish settings set to Windows Projector (.exe)
code on my button is -
btn.onPress = function(){
fscommand("quit");
}
i test the .exe file on my HD, press the button and the .exe file quits
Ok It works now, Thanks alot!
you're welcome :)