A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: jump to different scenes from a MovieClip. Plz help

  1. #1
    Junior Member
    Join Date
    May 2000
    Posts
    2

    Post

    Hi!

    I have a flash film which has four different scenes. On scene 2 i have a MovieClip which contain three buttons. I want to link these buttons so that when i click on button three flash jump to scene three and so on. Please give me an script exemple.

    Thanks for your help.

  2. #2
    Junior Member
    Join Date
    May 2000
    Posts
    4

    Arrow

    Give each one of those buttons a GoTo action.
    In that action specify the scene and frame number that should respond to that particular OnMouseEvent (Click, Release...)
    Your code for each button should look like this:

    ==========================================
    On (Press)
    Go to (desired scene)
    End On
    ==========================================
    Replace desired scene with the name of the scene that corresponds to your OnMouseEvent
    Hope that helps. Good luck.

    --ever

  3. #3
    Junior Member
    Join Date
    May 2000
    Posts
    4

    Unhappy

    ever-->
    that doesn't work... the "scene" field is disabled.
    I also need help to this problem

  4. #4
    Senior Member Flashock's Avatar
    Join Date
    May 2000
    Location
    Singapore
    Posts
    235

    Post

    Disabled??? is it grey out? have you click on the grey section? or any scroll down?

  5. #5
    Junior Member
    Join Date
    May 2000
    Posts
    1

    Cool

    Ok here's what you do.

    in the movie clip where you want the animations point to start.
    1.)Create a key frame and then go to the properties of the key frame.
    2.)click on the label tab and assign a label name anima.start (Or whatever you want to call it)
    3.)double click the movie clip from the main timeline and give the instance name Animation
    4.)Then go to your main movie where the buttons are.
    5.)Double click the button you wish and go to it's properties.
    then go to the actions tab and assign the following

    On (Release)
    Begin Tell Target ("/Animation")
    Go to and Play ("anima.start")
    End Tell Target
    End On

    I hope this helps

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