TommyIndigo
Programmer
Using MX 2004 Pro -
In my main movie, I have a global variable that I am setting using:
_global.MyVar = "test";
The main movie then dynamically loads other .swfs on higher levels. One of these loads another .swf on yet a higher level.
I am trying to access the value of this variable from this highest level movie, but it is coming as undefined. I believe I have done this in the past....any ideas what is wrong??
FYI, I already tried the following:
1. Defining the variable with and without 'var'
2. Accessing the variable with and without the '_global.' prefix
3. Trying the same using '_root.' insteadh of '_global'
4. Quadruple-checked spelling and case
Thanks!
In my main movie, I have a global variable that I am setting using:
_global.MyVar = "test";
The main movie then dynamically loads other .swfs on higher levels. One of these loads another .swf on yet a higher level.
I am trying to access the value of this variable from this highest level movie, but it is coming as undefined. I believe I have done this in the past....any ideas what is wrong??
FYI, I already tried the following:
1. Defining the variable with and without 'var'
2. Accessing the variable with and without the '_global.' prefix
3. Trying the same using '_root.' insteadh of '_global'
4. Quadruple-checked spelling and case
Thanks!