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

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

    Default Button to close a swf

    Hi,

    I'm trying to build a floating banner, wich moves around a web page, stops, and the it has a close button, so the user can close the ad and see the page normally.

    Since it's online i can't use:
    on(release) {
    fscommand("quit", true);
    }

    I dont want the browser window to close so i can't use:
    Get URL ("javascript:window_close()")

    I just want the flash to dissapear. I can stop all movies with:
    on (release) {


    this._visible = false;

    But the area of the flash movie is still active. Except in Internet Explorer, where everything works.

    Any help?

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2

    Default Button to close a swf

    Hi pedroos,

    you can try this one on the button's action:

    on (release) {
    unloadMovie(this);
    }

    it worked for me...

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. Replies: 1
    Last Post: 11-20-2006, 06:29 AM
  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