A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: nextScene

  1. #1
    I Love $$$ rjlstar's Avatar
    Join Date
    Jul 2002
    Location
    USA
    Posts
    432

    nextScene

    Code:
    on (release) {
    	_level1.nextScene();
    }
    What's wrong with this code? My movie doesn't do anything when you click the button that has this code. It just sits there. And yes, I do have several scenes.

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Scenes don't exist in a compiled .swf.

    nextScene(); only works on the main timeline, and doesn't even work if you add _root to it...

    Label the first frame of each scene with a frame label, and target those.

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