I am working on a project, which consists of a slider with 9 slides, where each slide has an edge animation. I already created a script which loads animations in dynamically when you actually land on a particular slide. i did this to avoid loading everything at once. This works fine. However, the issue is that once all 9 animations are in, things start to slow down dramatically.
What I would like to do, is to kill the animation once I leave a corresponding slide and then load it in again, when I come back on to the slide.
The animations are quite complex with symbols being created dynamically and deleting themselves, so I cannot simply stop at 0 on the stage. I have to kill it completely.
If anyone knows a way, I would really appreciate it.
Thanks.