I have a simple animation inside a symbol called “Bug_Box_Glow”. At the end of the symbol’s timeline there is an Timeline Action: Go to Time in TImeline, Main Timeline (which I guess means the main timeline of the symbol?), Time 00:00:00 This should cause the symbol’s timeline to go back to the start and stop, if I understand correctly how timelines work in HYPE. However, when I trigger the symbol’s time line from a button using this:
var symbolInstance = hypeDocument.getSymbolInstanceById(‘Bug_Box_Glow’);
symbolInstance.startTimelineNamed(‘Main Timeline’, hypeDocument.kDirectionForward);
What happens is that the Bug_Box_Glow timeline plays to the end, and when it hits the Timeline Action to return to the start, it starts playing from the start again, rather than stopping at 00:00:00.
Is there a way I can get the symbol to actually stop rather than continuously loop?
Thanks for any help.