Adding the values of 2 string variables together?
Hi,
Sorry I screwed up the title, I meant to call it "Convert a value to a variable".
Using CS3, AS2:
If I have a variable that's a string value = the name of another variable, can I extract the value and then look for the extracted value's matching variable name to get it's value?
Ex:
color = "blue"
box = "color"
(Assuming I don't know the value of box) How would I get the value of "box" out so I could search for the value "color" as if it were a variable? I need to convert a value to a variable name is what i'm getting at... I think. :confused:
Thanks,
Spit