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

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

    Default Button to Close file and a button to shut down computer

    I want two buttons one labeled "Exit to Desktop" and another labeled "System Shutdown".

    Exit to Desktop: When this button is clicked, I want the flash program to close.

    System Shutdown: (I don't know if this is even possible, but...) When this button is clicked I want the program to shut windows down for me.

    Thanks for any help.

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

    Default

    Hi,

    The exit to desktop is simply a close window method....

    getURL("javascript:window.close()");


    To close windows with a system shutdown would pose a security issue and is not appropriate for these forums.


    Edit........ dart thrower by chance?
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Script to a close button
    By pedroos in forum Flash Scripting
    Replies: 1
    Last Post: 07-23-2007, 06:30 PM
  2. Button to close banner
    By pedroos in forum Design and Animation
    Replies: 1
    Last Post: 12-23-2006, 09:03 PM
  3. Button to close a swf
    By pedroos in forum General Flash
    Replies: 1
    Last Post: 09-06-2006, 02:54 PM
  4. Open/Close Button Animation Problem
    By Digweed in forum Newbies
    Replies: 0
    Last Post: 05-22-2004, 09:42 PM
  5. Close Button
    By rrfox in forum Flash Scripting
    Replies: 1
    Last Post: 12-03-2003, 05:28 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