Copy link to clipboard
Copied
A friend has made a movieclip symbol which is comprises several nested animations (classic tweens). He then placed the movieclip symbol in the main timeline which has a single frame. When tested, the movieclip symbol loops indefinitely despite the fact that in the publish settings the 'loop timeline' checkbox is deselected. I have yet to find a single code in the file would explain the looping process. How has he achieved the looping?
Hi,
Looping is the default behaviour for all movieclips. No code is needed to achieve the loop, this is why the common practice is to place stop(); statement on the first frame of the movieclip if you want to prevent the automatic looping.
So, if you want to control the clip without code, you need to change its instance type to "graphic" and then you will have access to the following options:
-single frame
-play once
-loop
Copy link to clipboard
Copied
The "Loop Timeline" checkbox controls the root timeline only. All other sub-timelines always loop, unless explicitly stopped by code.
Copy link to clipboard
Copied
Hi,
Looping is the default behaviour for all movieclips. No code is needed to achieve the loop, this is why the common practice is to place stop(); statement on the first frame of the movieclip if you want to prevent the automatic looping.
So, if you want to control the clip without code, you need to change its instance type to "graphic" and then you will have access to the following options:
-single frame
-play once
-loop
Copy link to clipboard
Copied
https://forums.adobe.com/people/Vladin+M.+Mitov wrote
this is why the common practice is to place stop(); statement on the first frame of the movieclip if you want to prevent the automatic looping.
You mean the last frame, not the first.