-
flash 8 projectors
I have created a projector .exe from flash 8 and cannot get any quit function to work? I've tried the fscommand but this seems to be redundant in the new release. Is there now an alternative and does anyone know howto use it to quit a projector?
many thanks
Steve
-
What do you mean by "quit" function?
-
quit function
I would like the player itself to close. I can unload the root easily enough, though I would like to close the entire window.
cheers
ste
-
Make a button on the main timeline, name it closeBut and try this.
closeBut.onRelease = function()
{
removeMovieClip(this._parent);
}
-
if you are using to close with a button the code on your should be
---------------------------------------
on(press){
fscommand("quit");
}
------------------------------------
or if you want to call from a particular frame, then your particular frame can have this code:
------------------------
fscommand("quit");
-----------------------
this is pretty simple and strightforward, flash8 doesn't have any such fscommand("quit") bugs!
hope it helps