# Trying to reach a child/embedded movie clip

**URL:** <https://forum.kirupa.com/t/trying-to-reach-a-child-embedded-movie-clip/277704>\
**Category:** flash\
**Created:** [December 16, 2008, 2:27am UTC](https://forum.kirupa.com/t/trying-to-reach-a-child-embedded-movie-clip/277704 "2008-12-16T02:27:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddot](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@ddot](https://forum.kirupa.com/u/ddot)\
**Post date:** [December 16, 2008, 2:27am UTC](https://forum.kirupa.com/t/trying-to-reach-a-child-embedded-movie-clip/277704/1 "2008-12-16T02:27:53Z")

</div>

Hey guys… i’m new to the AS3 format and wow has it changed. but i don’t know how to correctly ask this question, so forgive me if this is addressed in another post…but please provide the link…hahaha :joker:

here’s my problem I’m trying to reference a dynamically created movie clip

function getContentData(xmlData):void {  
for (var i:int = 0; i \< xmlData._.length(); i++) {  
var mc:MovieClip=new navButtonAction();  
mc.name = “mc”+i  
mc.x=500 +(i_250);  
mc.y=10;  
mc.currentBut.text = xmlData.\*\*.name();  
[//mc.imageShell.pctFieldText.text](https://mc.imageShell.pctFieldText.text) = “show % loaded here”;  
navMenu.addChild(mc);

```
    loadImage("photo.jpg"); 
}

```

}

function loadImage(url:String):void {  
// Set properties on my Loader object  
imageLoader = new Loader();  
imageLoader.load(new URLRequest(url));  
imageLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, imageLoading);  
imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);

}

function imageLoading(e:ProgressEvent):void  
{  
_ **so the question is… how would i talk to the dynamically created “mc” here.** _  
so i can pass the preloading tally.  
}
