# Accessing an array variable from a child swf

**URL:** <https://forum.kirupa.com/t/accessing-an-array-variable-from-a-child-swf/136875>\
**Category:** Uncategorized\
**Created:** [February 9, 2005, 3:29am UTC](https://forum.kirupa.com/t/accessing-an-array-variable-from-a-child-swf/136875 "2005-02-09T03:29:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![veraxoxo](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@veraxoxo](https://forum.kirupa.com/u/veraxoxo)\
**Post date:** [February 9, 2005, 3:29am UTC](https://forum.kirupa.com/t/accessing-an-array-variable-from-a-child-swf/136875/1 "2005-02-09T03:29:31Z")

</div>

I am loading an external swf into my main movie using loadMovie. From within the child swf I need to have access to an array (defined as a global array in the main movie).  
I am using \_parent.arrayName[0] to access the first element of the arrayfrom within the child swf but cannot read the data.

Any ideas…pls!
