put the animation into a movieClip, and then give that movieClip on the stage an instance name
(you do that in the property bar of flash- the same panel where you set your line style, font style, x/y positions ect. it the upper left input field I guess)
so for example if you gave the instance name "myMc" you can write the following code in the first frame of your flash movie on the stage (thus the main timeline, not the movieClip one!)
yes I think so,- basicly your movie with it´s frames (you say images but I think you mean frames) is inside a movieClip. That is because with Actionscript it´s the best way accessing Animations in MovieClips.
give it a shot
I realize this thread is old but it's the best code I've been able to find to get a series of images to display randomly. However, there's one problem. They display randomly fine except for the first frame -- it is always first. I tried having the first frame empty, and then it worked except that there was a delay (as there should be) before subsequent random frames loaded. Any suggestions? (completely different code is okay too!) I'm using AS2.