Let me explain my scene first:
I’ve a scene with a symbol named Illustrations. In that symbol, I have 2 timelines, Main Timeline and Slideshow. The Main Timeline just has one timeline action and that is to trigger a custom behaviour named symbolLoad. This behvaiour when triggered, goes to the start of the Slideshow timeline and continues it. The Slideshow timeline has all the animations of the images which actually constitute of the slideshow.
var time2 = hypeDocument.getSymbolInstancesByName('Illustrations'); var timePos = time2.currentTimeInTimelineNamed('Slideshow'); time2.goToTimeInTimelineNamed(timePos, 'Slideshow'); time2.continueTimelineNamed('Slideshow', hypeDocument.kDirectionForward, false);
Basically, I’m trying to check the time position in the Slideshow timeline of the symbol, store it in a variable and then, tell the symbol to go to that time in the timeline and continue it from there. This is because, when the theme is toggled, the slideshow resets to the first image. I’d really like if it goes on the way it was going.
How can I continue the symbol even when the theme is switched in my case? One thing I had tried was to remove the symbol actions from both timlines and that had worked. But, that’s causing the slideshow to start as soon as the scene loads and I want it to start after 2 seconds.
Here’s my file: http://ge.tt/4m6TGHy2 (~18MB - available for 30 days from now).