|
-
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
-
Senior Member
What do you mean by "quit" function?
- The right of the People to create Flash movies shall not be infringed. -
-
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
-
Senior Member
Make a button on the main timeline, name it closeBut and try this.
closeBut.onRelease = function()
{
removeMovieClip(this._parent);
}
- The right of the People to create Flash movies shall not be infringed. -
-
Senior Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|