Exit Button in an SWF file.

  • elBurroDiablo
  • Novice
  • Novice
  • User avatar
  • Posts: 16

Post 3+ Months Ago

I have a Flash presentation that I am developing, which is basically complete aside for the code on this little "exit" button that is part of the interface.

I have found several resources for an exit button script that runs only in a .exe file. My problem is the fact that this particular presentation needs to be in .swf format.

This is what I have found, that works only on .exe formats.

Code: [ Select ]
on (release) {
fscommand("quit", "true");
}
  1. on (release) {
  2. fscommand("quit", "true");
  3. }


Any help would be greatly appreciated. Thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

hmmm .... by a .swf format you mean it will be in a web page?
  • rizvihaider72
  • Born
  • Born
  • rizvihaider72
  • Posts: 1

Post 3+ Months Ago

Greetings!
if you are using a swf you should use javascript method not the fscommand. But incase of a standalone version (.exe) then fscommand should be used. Follow here:
learntoflash.blogspot

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 18 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.