Name : Creating Exit Button for swf Movies in Macromedia Flash
Category: Intermediate
Actionscript: 2.0
In this tutorial related to Macromedia Flash you will learn how to create an exit button for a flash movie. There are more than one scripts for exit button but this one is the best and works very fine then other scripts.
1- Open up Macromedia Flash and create a new file.
2- Create a button.
3- While the button is still selected open up the Actions Panel (Ctrl + F1) and write the actions as follows:
on (press) {
fscommand("quit");
}
4- All done. Export the movie clip in .swf or .exe format and check with the file created.
nice. it worked. thanks
ReplyDeletethanks for that
ReplyDeletedoes not work on testing movie, but on stand alone swf works fine, thanks a lot
ReplyDeleteUsually fscommands doesnot work while testing in adobe flash environment. Like fullscreen command.
ReplyDeleteworks in swf but doesn't work when published in html. anyone know why this would be? im stumped
ReplyDeletethis is very useful to me
ReplyDeleteit works.. very useful.. tanx a lot for sharing
ReplyDeletehow to make exit button in flash game, action scrip 2.0...
ReplyDeleteplease .....
any advice..... thanks..
scroll up
Deletetheres ure advice
thnx buddy, i just forgot the command
ReplyDeleteIt doesnt work. T__T
ReplyDeletehow to make exit button in flash AS 2.0 ... when user click the button it will poup "yes or no".. if yes then it close the application and if no it will stay on the page.. can anyone help me??
ReplyDelete