Skip to main content
October 31, 2010
Answered

Pause timeline?

  • October 31, 2010
  • 2 replies
  • 3536 views

I'm currently working on a project which requires me to pause the timeline, without pause being selected manually, and then play again with a button being pressed. I've done a fair bit of searching and can't find any answer, could anyone here help please?

This topic has been closed for replies.
Correct answer Andrei1-bKoviI

use stop()


2 replies

Participating Frequently
June 16, 2018

Oh thank you so much to help me.

Let me explain.

I am showing an audience the animation directly running on Animate. But it needs to stop somtimes so I can draw and then i press on 'enter' and it plays the rest of the timeline.

Very simple.

I used to do it on Flash CS4 by puting a key frame with F7 and then but an action "stop" and allowing the timeline to activate simple images action.

Do you see what i mean.

I've been stuck on this question since a long time.

JoãoCésar17023019
Community Expert
Community Expert
June 16, 2018

Here we go!

Notes:

- Just put in the main timeline the stops and frame labels you need (see the FLA);

- You have to test the SWF outside Animate CC (e.g.: from the OS file explorer) for the enter key to work;

- I also added code for the left and right arrows so you can navigate between the labels.

FLA download:

animate_cc_as3_stop_play_timeline.zip - Google Drive

I hope it helps.

Regards,

JC

Participating Frequently
June 16, 2018

Joao, you are very kind to help me.

I may not have been clear on what i was looking for.

I don't export the animation. I don't use swf.

I am showing the software as itself to show my animation. I need to play the animation and it stops with a key frame with a stop key.

Andrei1-bKoviICorrect answer
Inspiring
October 31, 2010

use stop()


Participating Frequently
June 16, 2018

hi there

how do you do that with A.S.3 ??

thanks

J

JoãoCésar17023019
Community Expert
Community Expert
June 16, 2018

Hi.

Do you want to just stop the timeline manually or do you want a button to do it?