A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Making a button that plays the next scene..?

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    1

    Question Making a button that plays the next scene..?

    im confused i am trying to make a button that plays the next scene on the release... i would try frame labels but im not sure what those are and ow to use them... any help plz?

  2. #2
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    just put on your button

    Code:
    on(Release){
        gotoAndPlay("Scene 2", 1);
    }
    To do a frame label - Select a frame in your timeline. Right click and insert a blank frame. Then select the empty frame you just created and in the properties window give a name. Then you can use code like this

    Code:
    on(release){
       gotoAndPlay("myFrame");
    }

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