简体   繁体   中英

Flash AS 2 Button

I recently made a website, and the buttons look like this:

On(release) { gotoAndPlay ("title", 1); }

My problem is, when you click the button the first time, it goes to the correct frame. but when you click it again, it goes to the next frame, or to the next scene. How do I remedy this? thanks!

The args for gotoAndPlay are scene and frame. So without seeing your code I can only recommend that you

  • have more than one scene
  • have a scene named "title"
  • if you have a scene named "title" that it has more than a couple of frames in it, as well as something that will "stop" the timeline

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM