Movie Clip Question
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Movie Clip Question

  1. #1
    Member
    Join Date
    May 2003
    Posts
    42

    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
    Location
    Denver, CO, USA
    Posts
    649
    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.

    http://www.ln.tv
    http://www.davevillano.com
    http://www.premierloftsdenver.com
    http://www.backyard.cc -- 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 Flashkit.com