Hi,
In the root of my movie i call LoadVars() with instance MyVars and load variables from a text file… One of the variables i load is total
Now if i have a movie clip with instance say… MyClip and in the first frame of this timeline I have
for (i=1; i<=Number(_root.MyVars.total).; ++i) {
//blah blah blah....
}
would pthat be a valid method of using the variable total from the loaded text file?
Because i have tried this and the loop doesn’t seem to work? :*(
i see a typo! 
for (i=1; i<=Number(_root.MyVars.total); ++i) {
// blah blah blah....
}
you could also try using _parent instead of _root.
and most important, make sure that the TXT file has been fully loaded before the code is executed. 
Ok thanks…
I didn’t encorporate the typo in my code so i suspect it’s the mvie stopping before fully loading the variables…
I’ll try adding a condition statement and let you know
Thanks 
Hmm I still can’t get it to work :*( :-/
I added the onload event so that the movie only stops when the file is loaded (and when i check in the debugger they seem to have) but the MC doesn’t use the variable total so my loop doesn’t do anything and so therefore no links are listed on the nav bar…
any ideas?
well at the moment there is only like 1 line of text in the file and the dbugger is listing the variables in the file… it’s just accessing them from the movie clip that seems to be the problem. And the rest of the movie doesn’t work because of this :-/
sorry… i got to go. :-\
it’s not totally fixed, but at least it should get you in the right direction (or so i hope). 
Thanks for your help and ultra fast replies 
I’ll check it out Thanks again
thanks a lot! I managed to get it to work just how i wanted… This problem has been bugging me for the past few days…
Thanks! 