I have a simple ActionScript 2-based flash file where I'm doing all of the animation in code so my movie is only one frame long with a FPS of 12. However, The movie doesn't seem to want to loop. My code in the action fires, but just once.
Now I added a second keyframe making the movie two frames long, and sure enough, then the code fired in the first, then the second, then the first again and so on. BUT... all of my code is in the first frame so now it's only firing at half of the framerate.
Now in ActionScript3 this was easy, but I have to use legacy AS2 here so I'm stumped on what to do.
So is there any way to make a single frame animation fire an event at the target framerate, and if not, is there a way to share code between frames and I'll just call it that way?