Skip to main content
samb88444398
Participant
May 3, 2016
Answered

Adobe Animate CC - stop animation repeating

  • May 3, 2016
  • 2 replies
  • 27972 views

I have created a short animation in Adobe Animate CC for the first time and got it exported as HTML/JS to include in a website however the animation keeps repeating. I want the animation to stop once it has finished.

Can anyone help with it?

Thanks

This topic has been closed for replies.
Correct answer marliton

Hi. Just add this.stop() in the last frame, this function stop the timeline.

2 replies

Participant
July 6, 2018

First of all, place the cursor above the point you need to stop animation; in the Insert button choose "Time line" and add a Key Frame.

Then, go to the "Window" button and select Actions field: a window will open. Go to Timeline Control, select and double clic on "Stop". The indication " Stop ( ) ;  "   will appear within the window and a small "a" or alpha will appear within the key frame. Close the actions window. Action is ready, animation will not repeat any more.

Participant
May 19, 2021

I have tried Stop(); and this.stop(); but nothing work I don't understand.

JoãoCésar17023019
Community Expert
Community Expert
May 19, 2021

Hi.

 

For HTML5 documents, use this.stop();.

 

For AS3 documents, use stop();.

* lowercase s in the stop word

 

Regards,

JC

marliton
Community Expert
marlitonCommunity ExpertCorrect answer
Community Expert
May 3, 2016

Hi. Just add this.stop() in the last frame, this function stop the timeline.

Marlon Ceballos
samb88444398
Participant
May 3, 2016

Brilliant thanks Marlon!