Skip to main content
eiriankitty
New Participant
March 8, 2018
Question

Play a scene using buttons then go back to the first frame?

  • March 8, 2018
  • 1 reply
  • 2634 views

So I tried using scenes because I thought it is much more convenient. But, uh, no. I think.

So here's my situation.

I have 5 scenes, all of them ends with the same frame(100).

The ButtonScene is only for the buttons. If Button1 were clicked, it's supposed to play Scene1 only, and then it will go back to the ButtonScene, where my buttons are staying.

Button2 will play Scene2, then go back to ButtonScene, etc.

I used code snippets because I'm not really into coding, "click and go to scene and play" actually works.

BUT I don't want to play the entire scene by clicking only one button.

I tried to do the answers in How to stop scenes from playing one after the other? and How do I automatically pause at the end of a scene? , but when I insert stop();, the entire swf will not play.

Thank you for the incoming answers. If my situation is not possible, can you guide me on how to do this? Thanks.

Moderator: Moved to Adobe Animate CC - General forum

This topic has been closed for replies.

1 reply

John T Smith
Community Expert
March 8, 2018

Please post the name of the program you use so a Moderator may move this message

-A program would be Photoshop or Dreamweaver or Muse or Premiere Pro or ???

eiriankitty
New Participant
March 8, 2018

Oof, my bad. I'm using Adobe Flash Professional CS6, as I mentioned in the tags.

Brainiac
March 8, 2018

"actionscript 3 and buttons" is not a good tag. That's like... two tags.

Anyway, if you're actually using AS3, stop(); should be working to stop the current timeline.

Also you're just making your life harder by using scenes instead of movieclips.