Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 3 of 3
  1. #1

    Default on(press) exit function?

    How do you close the program via use of a button say, on (press)
    I have a yes and no button, the yes takes you back to frame 1 but I want the no button to exit the program, how do I do that?

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    Code:
    on (release) { 
    fscommand("quit");
    getURL("javascript:self.close()", "_top");
     }
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

  4. #3

    Default

    Quote Originally Posted by NTD
    Hi,

    Code:
    on (release) { 
    fscommand("quit");
    getURL("javascript:self.close()", "_top");
     }
    Thnx bud, much appreciated.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. function issues
    By pixelz in forum Flash Scripting
    Replies: 4
    Last Post: 12-01-2005, 09:02 AM
  2. exiting a function
    By yardgnome in forum Newbies
    Replies: 2
    Last Post: 07-17-2005, 02:43 AM
  3. slide in and over on button press
    By cj in forum Flash Scripting
    Replies: 1
    Last Post: 04-07-2005, 12:03 AM
  4. fade in,out problem when press button
    By parthy_ban_m in forum Flash Scripting
    Replies: 2
    Last Post: 10-08-2004, 06:11 AM
  5. stop exit popup
    By adrock2005 in forum Advanced Flash
    Replies: 4
    Last Post: 10-05-2004, 01:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial