|
-
formerly hooligan2001 :)
Attach loaded bitmap into nested movieclip
Just trying to work out if this is possible or if theres a better way to do it.
I have a Moiveclip in my library exported with the class of Circle. Inside that movieclip I have 3 nested clips, with instance names of arms, feet, eyes.
These moviclips are to act as place holders for loaded images and are animated on the timeline.
In the Main class I load in an image called image.gif and create a new instance of Circle passing the images to the constructor.
I use addChild on the Main class to add the Circle to the stage.
Inside of the Circle class I can use addChild and pass the BitmapData image. But I get a null reference when I try to use eyes.addChild but I can add it to the Circles display list with addChild fine.
My question is can you add to a nested movieclips display list and if not what would be the best way to set this up?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|