LoadVars giving problems. can't access the variables
I am trying to load variables from a text file using loadVars. now, I can SEE that whatever I have is loaded, BUT can't access it... the thing is I wanna be able to access it dynamically. example:
I have in the text file:
now if I trace(this.display1) I get 'true'. BUT, I wanna be able to access it dynamically using it's number, which is 1. if I do this:
I get unidefined for the value, I kind of understand why it happens, I just need to know how I can access the values I need using a similar method.
Please help and thank you for replying!!
Thank you ever so much Scottae!!
I knew this is also an array, didn't know exactly where to use it....
This is great as this is my first post!
glad to be apart of this community
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Problems: movie clip variables within class and error 1120.||iblokh||Flash CS3 / Flash 9||1||10-17-2007 05:55 PM|
|LoadVars() and global variable problems||clem_c_rock||Flash MX 2004||1||12-03-2004 03:38 PM|
|Setting search variables using the LoadVars object||PUP100||Flash MX ActionScript||4||05-02-2004 01:53 PM|
|problems with .load using variables||longanimous||Newbies||2||04-27-2004 05:39 PM|
|access variables across movies||schlumpf||Flash MX ActionScript||1||09-05-2002 08:27 AM|