Movie Clip Question
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Movie Clip Question

  1. #1
    Join Date
    May 2003

    Movie Clip Question

    Probably a really silly question...

    But if I have a movie clip on my timeline that contains a button and that buttons purpose is to move the movie along to scene2, which actionscript do I need to use to make that happen.

    I imagine it's _root.something.gotoAndplay....

    Any help?

  2. #2
    Lifesaver Lightwave Network's Avatar
    Join Date
    Sep 2002
    Denver, CO, USA
    To make it gotoAndPlay a Scene, you'd simply use: gotoAndPlay("myScene", "label")

    However, if you were trying to make the root timeline go to a specific frame, you'd use: _root.gotoAndPlay("someFrame")

    Which ever scene is loaded is considered the _root

    ... gimme just one more line of code to ease the pain. -- coming soon!

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

Poll by