Copy link to clipboard
Copied
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?
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 animatio
...Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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();
Find more inspiration, events, and resources on the new Adobe Community
Explore Now