A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Button in movie Symbol to go to new scene

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    9
    I am having trouble in Flash 5 getting a button action that is embedded in a Movie Symbol in Scene 1 to do a

    on (release) {
    gotoAndPlay ("scene 9", 1);
    }

    I know I am missing some context for the whole parent.child thing but I just don't get it....

    I have tried _root & _level0 & _parent but I can't make it work....

    HELP!!!!

  2. #2
    Senior Member
    Join Date
    May 2002
    Posts
    253
    Try using a "frame label". The problem with scenes is that it combines all the main timelines into one big "main" timeline. For example if you had 3 scenes that had 50 frames each, the 1st frame of the 3rd scene is really frame 101 on the main timeline.

  3. #3
    Junior Member
    Join Date
    Nov 2001
    Posts
    9

    Still no go....

    It still isn't working....

    would you be interested in looking at the test FLA I am working with ??

  4. #4
    Senior Member
    Join Date
    May 2002
    Posts
    253
    try this:
    on(release){
    tellTarget("_root"){
    gotoAndPlay("framelabel");
    }
    }




  5. #5
    Junior Member
    Join Date
    Nov 2001
    Posts
    9

    Smile WORKS!!!

    That works great .... thanks for your help!!

    It's stuff like this that isn't mentioned in any of the online help that is golden information!!

    Thanks again

  6. #6
    Senior Member
    Join Date
    May 2002
    Posts
    253
    Glad I could help!

  7. #7
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    I simply do this:

    Code:
    on (release) { 
    _root.gotoAndPlay ("Framelabel"); 
    }

  8. #8
    Senior Member
    Join Date
    May 2002
    Posts
    253
    yeah that'll work to0, but figured he was editing in normal mode.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center