Let loop within symbol play independently among multiple instances


(Peter Villevoye) #1

I have a symbol with a looping timeline. Multiple instances of this symbol move to different locations all over the stage, in various (scaled) sizes, grouped with some other stuff. Their actual movements start on different moments on the timeline, so they move independently from each other, but the symbol’s loop is synced across all symbols. That’s not what I want – it looks not random enough…

I guess the simultaneous loading of each symbol (as set with an OnLoad Start Timeline action in the symbol) obviously kicks off each symbol’s instance from the moment they all appear (simultaneously) on stage, which is at the very beginning of the timeline. But how do I set each instance of the symbol to start its timeline only when it starts to move ? Do I need to give each instance of the symbol it’s own Start Timeline action the moment it starts to move, or is there a better method ?

I read about this Absolute/Relative setting of a Timeline, and it seems it might offer a solution, based on the first keyframe. However, I tried several possible combinations, in vain…

The image shows a bunch of groups, each containing an instance of the same looped symbol. As you can see, their first keyframes are at different moments on the timeline.


(Hans-Gerd Claßen) #2

randomlyPlaySymbolInstances.hype.zip (16.8 KB)

very rough, but should do a job :slight_smile:


(Peter Villevoye) #3

:grinning:
Thanks for the effort, but I hoped for a non-coding approach…
After all, that’s why I primarily prefer Hype !

I remember Adobe Edge Animate offered the option to (auto)play or pause the timeline within a symbol (looping or not) from a little popup menu on a symbol’s timeline bar. I guess I’m just looking for the easy equivalent for that feature in Hype.

For now, I’ll stick with kicking them off (all 30) by manually inserting a Start action at their own first keyframe on the Main timeline.


#4

Thanks for sharing this, I was working on a solution Friday night to this for someone who emailed in but got stuck :slight_smile: