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

+ Reply to Thread
Results 1 to 2 of 2
  1. #1

    Default Flash - close button

    Hi Guys,

    Im a newbi to flash, would like to ask some help how to make a close button and go back to the main frame? please see my .fla file! i have a button that will open a new frame, one thing i cant solve is the close button to go back to the main frame. please help me. see the link below for my .fla file. many thanks -

    http://www.house-of-excellence.com/images/slide_1.fla

    looking forward.

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    Nov 2010
    Posts
    24

    Post

    Hi Dorian27,
    The scrip that you have used on the close button is

    on (release) {
    gotoAndPlay("main");
    }


    here you are referencing the "main" labeled frame which doesnot exists in the movieclip the close button lies, this could be rectified by first referencing the root where the "main" labeled frame.

    instead use this one

    on (release) {
    _root.gotoAndStop(
    "main");
    }


    Hope you got the point.


    Regards,
    Shane Achary

Thread Information

Users Browsing this Thread

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

     

Tags for this Thread

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