You can loop your animations by adding this code on their respective timeline at the end of the animation: sym.play(0);
Thanks for your help. I tried that but unfortunately, each of the individual graphics no longer looped at all.
When I have this at the end of all my individual graphics' timelines they will loop continuously:
But again, they all stop when the main scene gets to the end of its timeline.
Should I just add, like, 10 thousand dummy frames to end of my main timeline to keep them all going?
Here is a sample both in 2014.1 and 2015 EA versions. I am not sure this is exactly what you are doing but have a look.
Each symbol is set to autoplay and has sym.play(0) at the end of their respective timeline.
Each symbol appears on the main timeline at different times. The main timeline is set to autoplay and stop at the end. The symbols are still looping.
You can modify the example to not be on autoplay.
You can have it set up with autoplay off and then each symbol with autoplay off as well and add the play() for each symbol on the main timeline when needed:
at 1000 add sym.getSymbol("Symbol_1").play();
at 2000 add sym.getSymbol("Symbol_2").play();
at 3000 add sym.getSymbol("Symbol_3").play();
at 4000 add sym.getSymbol("Symbol_4").play();
That's interesting. Thank you for the example. Does that only work if you use scripts like "sym.getSymbol("Symbol_1").play();" to get your library items on the main timeline? In other words, can you not drag the library items onto the main timeline so that other effects can be applied?
Here's a clearer picture of how I set it up my main timeline:
As you can see, I have all the little icons coming in based on the timeline, and I am also using tweens on them so that they fade in and enlarge. And the icons are animated the whole time (for example, the coins drop into the piggie bank and loop.)
And here is an example of one of the animated icons:
I'm using this.gotoAndPlay(1) instead of sym.play(0) since when I use sym.play(0) the icons don't ever loop on the main timeline (not sure why)
The way I have it set up, all the icons grow/fade in on the main timeline and loop constantly, all up until the very last frame. Do I need to take a completely different approach and do it programmatically like in your example? Or is there a way to keep what I have an tell it to continue animating all the things on the timeline even though it has reached the end of the timeline?
This code is for Animate CC or Flash, not Edge Animate.
Thanks, I'm using Animate CC 2017. Sorry if I referred to it incorrectly in my original post. As someone who has only dabbled a little bit in Flash, Edge, Animate, etc. I find all the version names confusing. And I find it equally as difficult finding answers since when I Google around for answers, I get results for Flash, Edge, and Animate CC, etc...
Then you are on the wrong forum. Go to Animate Cc instead. Good luck with your project !
Thanks, sorry if I posted in the wrong forum, sorry if I wasted your time.
I have a Creative Cloud subscription and over time my Flash updated to Edge Animate and then updated to Animate CC...