A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Affecting Scenes! HELP! PLEASE!

Hybrid View

  1. #1

    Affecting Scenes! HELP! PLEASE!



    OK,
    (Working in MX) I have a movie clip(unnamed) and inside this clip I have 5 buttons(hit areas) that I would like to attach events to. Each one of these 5 hit areas affect a different SCENE and FRAME NUMBER. BUT, for some reason it's not working. It seems so easy, I don't know what I'm doing wrong. All I would like to do is execute a script within a clip and have that script perform an action on another scene and frame! This is what I have and it DOES NOT WORK. Please help!

    on (release) {
    _parent.gotoAndPlay('Scene2', 2)
    }

    I have also tried these, (which also DON'T work):

    on (release) {
    _root.gotoAndPlay('Scene2', 2)
    }

    and

    on (release) {
    gotoAndPlay('Scene2', 2)
    }

    I don't get it, all I want to do is back out of that clip and affect the main timeline. or the main timeline in another scene, please help!! Thanks All!!

    Jason

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    use:
    code:
    _root.gotoAndPlay("label");[



    gparis

  3. #3
    I'll give that a try...

    that's stupid, you can't target Scenes??

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