Im trying to use global variables right now for fields of different things in my game. I declare one global variable on the first frame of my movie and then assign that name to a text box for the user’s name. Then on the next frame I have a movieclip with a dynamic text box in it which is of the same variable name, yet that text box won’t display the user name. I did a trace within this movie clip and the variable im using returns nothing. Why might this be? Are there any common mistakes when it comes to global variables.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
_global assignment | 7 | 129 | December 25, 2003 | |
Global variables?
|
0 | 53 | September 19, 2003 | |
Pass a user name to another frame - how do you do it? AS3 | 11 | 1590 | March 6, 2015 | |
Global variable problem
|
0 | 68 | December 30, 2008 | |
Trouble with globals variables
|
0 | 81 | October 26, 2006 |