Skip to main content
Participant
January 11, 2018
Answered

I can't make the test flash stop looping

  • January 11, 2018
  • 2 replies
  • 1253 views

I'm trying to test out a simple animation I made after being years out of practice with flash animation. One of the problems that I'm facing however, is that when I go to test my animation, the test flash continues to loop even when I have an actionscript indicating for the animation to stop at its last frame. I know I put in the script right as the animation works just fine when I export the flash to view on its own. Does anyone else have this problem? Could the fact that Adobe Animate now requires test animations to be opened through one's web browser possibly have something do do with it?

This topic has been closed for replies.
Correct answer Colin Holgate

Only HTML5 Canvas needs to be viewed in a browser. If you're doing ActionScript 3, everything is the same as it used to be. If you're making an animation to end up as video, or be part of an AIR application, or a SWF for desktop browser use, you should be in ActionScript 3.

If you're trying to make an animation to play back on mobile browsers, then it would need to be HTML5 Canvas, but to stop the animation you would need to use JavaScript and not ActionScript. The JavaScript to stop the animation would be:

this.stop();

2 replies

Colin Holgate
Colin HolgateCorrect answer
Inspiring
January 11, 2018

Only HTML5 Canvas needs to be viewed in a browser. If you're doing ActionScript 3, everything is the same as it used to be. If you're making an animation to end up as video, or be part of an AIR application, or a SWF for desktop browser use, you should be in ActionScript 3.

If you're trying to make an animation to play back on mobile browsers, then it would need to be HTML5 Canvas, but to stop the animation you would need to use JavaScript and not ActionScript. The JavaScript to stop the animation would be:

this.stop();

Lars Laborious
Legend
January 11, 2018

Could it be that Loop Playback are ticked off under Control > Loop Playback?

Btw I don't think Adobe Animate requires test animations to be opened through one's web browser. You can choose your preference under Control > Test Movie > In Animate/In Browser.