Hi again!
I have a LoadVars object called loadText in which an external variable is loaded from a text file.
Now, the whole thing works, I just want to create a template to optimize the system, so here is what I need:
The external variable (in an external text file) is called page1.
I am assigning that external variable to a local variable (at this point the external text has already been loaded in loadText, of course):
my_str=loadText.page1;
Now this works but I want to be able to have that page 1 up here as a variable:
(something like this):
my_str=loadText._global.page
where _global.page could have different values page1, page2, etc.
Now, I know this syntax is not correct because it just doesn’t work…so how do I do this???
thanks!!!:toad: