# \[AS3\] Locate MC Children

**URL:** <https://forum.kirupa.com/t/as3-locate-mc-children/213067>\
**Category:** flash\
**Created:** [January 16, 2007, 7:09pm UTC](https://forum.kirupa.com/t/as3-locate-mc-children/213067 "2007-01-16T19:09:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SecretAgentRege](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@SecretAgentRege](https://forum.kirupa.com/u/SecretAgentRege)\
**Post date:** [January 16, 2007, 7:09pm UTC](https://forum.kirupa.com/t/as3-locate-mc-children/213067/1 "2007-01-16T19:09:05Z")

</div>

Okay. I have an MC that has three frames, in which each frame has a different MC on the timeline.

When I am on frame one, I can target the child and modify it. However, when I am on frames two or three, I cannot locate the child MC eventhough it exists (numChildren comes back as 1);

Frame 1:  
[LIST]  
[_]MC.currentFrame = 1  
[_]MC.numChildren = 1  
[_]MC.getChildAt(0) = [object MoviClip]  
[/LIST]  
Frame 2:  
[LIST]  
[_]MC.currentFrame = 2  
[_]MC.numChildren = 1  
[_]MC.getChildAt(0) = null //(also getChildAt(1), etc.)  
[/LIST]  
Frame 3:  
[LIST]  
[_]MC.currentFrame = 3  
[_]MC.numChildren = 1  
[\*]MC.getChildAt(0) = null //(also getChildAt(1) & 2, etc.)  
[/LIST]  
How the heck do I target the MC on frames 2 and 3. Note that this occurs if I place them on the same layer or all on seperate frames of the same layer.

Help appreciated! Thanks.
