A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Scene to Scene not working

  1. #1
    Junior Member
    Join Date
    Oct 2002
    Location
    somewhere, tx
    Posts
    17

    Scene to Scene not working

    This is a fairly simple question for you guys.. im a newbie.. so bare with me.
    Ive created a flash documents with several pages. Instead of putting in the action of "get url", Im trying to make my document go from scene to scene. Its not working. Ive created my buttons. I go to the menu tool bar.. go to actions... click on go to.. scene.. frame one.. and pick the scene i want it to go it.
    Its not working.. help
    gidero

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    put a label on the frames you want to target and this on the button:

    _level0.gotoAndStop("yourLabel");

    no need for frame numbers and scene names.
    gparis

  3. #3
    Junior Member
    Join Date
    Oct 2002
    Location
    somewhere, tx
    Posts
    17
    okay.. thanks
    gidero

  4. #4
    Junior Member
    Join Date
    Oct 2002
    Location
    somewhere, tx
    Posts
    17
    Okay.. i did what you said.. but its still not working. I changed the label and nothing.. The script im using is below. Is it wrong?

    on (release) {
    gotoAndPlay ("bio", 1);
    }

  5. #5
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    if i look at your example, you didn't do what i said i see a scene name (bio) and a frame number (1). And i see no target.

    so, in detailed steps.
    go to that frame number 1 on the bio scene. open window>panels>frame and enter the label "bio_first"
    (without the quotes) You should see a little flag on the keyframe (if there are no actions in it) and the label name displayed.

    No go to your button and copy paste this:
    Code:
    on (release) {
    _level0.gotoAndPlay ("bio_first");
    }
    gparis

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