# Migrating to AS3 - embedding movieclip

**URL:** <https://forum.kirupa.com/t/migrating-to-as3-embedding-movieclip/298070>\
**Category:** flash\
**Created:** [October 13, 2009, 11:07am UTC](https://forum.kirupa.com/t/migrating-to-as3-embedding-movieclip/298070 "2009-10-13T11:07:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitech](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nitech/32/2542_2.png) [@nitech](https://forum.kirupa.com/u/nitech)\
**Post date:** [October 13, 2009, 11:07am UTC](https://forum.kirupa.com/t/migrating-to-as3-embedding-movieclip/298070/1 "2009-10-13T11:07:01Z")

</div>

Hi,

Say I have three movieclips that in the flash IDE has been combined together to one parent movieclip. In AS2, I could refer to an embedded movieclip this way:

myMC.childMC1  
myMc.childMC2  
myMc.childMC3

This doesn’t seem to work in AS3. What works is:

[Embed(source = ‘…/images/assets.swf#shadow\_thumb\_left’)] public var resShadowLeft:Class;  
var shadow\_left:Sprite = new resShadowLeft();

But if I try to address shadow\_left.childMC, I cannot find the child mc. What am I doing wrong?

🙂

Nitech
