# Array path

**URL:** <https://forum.kirupa.com/t/array-path/209197>\
**Category:** Uncategorized\
**Created:** [December 6, 2006, 7:00pm UTC](https://forum.kirupa.com/t/array-path/209197 "2006-12-06T19:00:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pensamente](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/pensamente/32/1208_2.png) [@pensamente](https://forum.kirupa.com/u/pensamente)\
**Post date:** [December 6, 2006, 7:00pm UTC](https://forum.kirupa.com/t/array-path/209197/1 "2006-12-06T19:00:18Z")

</div>

i’m using an array to call mc’s, like so:

[AS]btnArray = [item01];  
btnArray[0].text = “ok”;[/AS]

this works ok if i’ve a mc in stage with the instance name “item01”

problem is if i put the “item01” inside a mc like “contain” how can i call it using the same method (the array)… i found a way to, but not the prefereble

[AS]btnArray = [contain.item01];  
btnArray[0].text = “ok”;[/AS]

i would exepect to do it like contain.btnArray[0].text = “ok” (-:  
…but it doesn’t work so well

help?
