PDA

View Full Version : Button to Close Flash Moving


kbrick
04-29-2004, 09:48 AM
I'm a newbie, and I'm working on a Flash movie that will serve as a tutorial. The powers that be would like a button where the user can 'quit' the tutorial, but for the life of me, I can't find anything on how to do this. I just want it to shut down the Flash Player. Can anyone help? Thanks!!

dzy2566
04-29-2004, 10:06 AM
Standalone player? Or a popup window?

Close popup window:
myButton.onRelease = function(){
getURL("javascript:window.close();");
}

Close standalone player:
myButton.onRelease = function(){
fscommand("quit");
}