Skip to main content
Known Participant
June 29, 2009
Question

Pause, Stop and Resume buttons

  • June 29, 2009
  • 1 reply
  • 952 views

Hi Everyone,

I've got a fairly short little animation sequence that the folks here at my work would like to insert into one of our web pages on our site.  It's a demo on how to use one of our products, so I'd like to add a few buttons so the user can pause and then resume the entire movie.  There is absolutely no scripting applied to the FLA right now.

Could someone please get me started with this?  I've been working on another project that involves scripting some buttons with AS3, so I have some knowledge, but am still having a lot of difficulty, so any help would be appreciated.

Thanks.

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
June 29, 2009

To stop/pause a movie you command it to : stop();

To play/start a movie you command it to: play();

That's really all you need to have your buttons do in their event handler functions.

Known Participant
June 29, 2009

I didn't think it was that easy to stop and then resume the whole movie. Will give it a shot. Thanks!

Ned Murphy
Legend
June 29, 2009

If you have movieclips animating within the main movie, then you will need to target them for stop/play as well.