Loading External Images to Specific Frames in MC [AS 2.0]

Subscribe to Loading External Images to Specific Frames in MC [AS 2.0] 2 posts

Sign in to reply


 
avatar for MaToMaStEr MaToMaStEr 628 posts
Flag Post

Hi everybody

I have a question that I hope someone here can help me solve.
Like the title says, How do you Load External Images to Specific Frames on a container MovieClip ?

Let’s say… I have a serie of external images, that togheter form an animation. I would like then, to load all of them into a MovieClip and play them in order. Is it possible to do that assigning a frame where I want to put the images ?

Maybe if I load the Images into an array… and then play them in order… I don’t know
What do you think?

Thanks in advance

 
avatar for Moonkey Moonkey 1007 posts
Flag Post

You can’t load them to specific frames unfortunately.

You would have to cycle through an array. Looks like it’s actually pretty messy to do this in as2 since there doesn’t seem to be a way of accessing loaded images as BitmapData. You’d have to load them into MovieClips and then draw the current one onto a bitmapData onscreen or something I guess.

Sign in to reply