February 2010
M T W T F S S
« Jan   Mar »
1234567
891011121314
15161718192021
22232425262728

Nesting MovieClips in Flash using AS3

Problem
You want to put one MovieClip into another one.

Solution
Using addChild, you can place one MovieClip inside of another one. See the code below for an example.

Detailed explanation
Code:

box_mc.addChild(pic_mc);

pic_mc.x = 0;

pic_mc.y = 0;

index3

Sounrce in attached file.

Source:
display objects2

Thank you for reading.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>