Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

no loop for part of the animation

Community Beginner ,
Oct 14, 2019 Oct 14, 2019

I have an animation that should loop. But a part of it should run only once. How do I achieve this?

Thanks and best regards, Katja

TOPICS
Timeline
253
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 14, 2019 Oct 14, 2019

any timeline can be controlled with code, either as3 or js.  

 

if that doesn't solve the problem, is that what you're trying to control and which language are you using?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 18, 2019 Oct 18, 2019
LATEST

One way you can achieve your desired result is to use a series of MovieClips. To play an animation without it looping, you can add this.stop() to the last frame of your MovieClip. If you don't want a MovieClip to loop, don't include this.stop() inside of your MovieClip.

 

If you use this design method, you will need a way of navigating from one MovieClip to another after the non-looping animation has finished (e.g. this.parent.gotoAndStop(2)).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines