# Included variables: Flash MX

**URL:** <https://forum.kirupa.com/t/included-variables-flash-mx/322510>\
**Category:** flash\
**Created:** [May 24, 2011, 12:07am UTC](https://forum.kirupa.com/t/included-variables-flash-mx/322510 "2011-05-24T00:07:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoupHead](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@SoupHead](https://forum.kirupa.com/u/SoupHead)\
**Post date:** [May 24, 2011, 12:07am UTC](https://forum.kirupa.com/t/included-variables-flash-mx/322510/1 "2011-05-24T00:07:48Z")

</div>

Okay. Right now in a program I have a function which calls another function and uses an array (which I get based on other variables) as a parameter.  
Originally I had the array in the main program so I could do everything like this.

function whatever(){  
someOtherFunction(\_root[“SomeText”,varable]);  
}

My problem is that I put the array into an external file (because I have numerous arrays) and used #include to bring in the variable. Now, the above code won’t work because it isn’t inside of \_root. What do I need to replace \_root with to have the program send a variable in the function?  
I’m using Flash MX.

EDIT: I guess that in other words I just need to know what an included variable is stored into. Apparently it isn’t \_root. Again, I got the variables by using #include “fileName.as”  
[RIGHT]Thanks, SoupHead :toad:  
[/RIGHT]
