Groups | Blog | Home
all groups > flash actionscript > october 2005 >

flash actionscript : variable name token grom another variable?


bernizt
10/18/2005 8:57:12 PM
What I want to do is the following:
vname = "vari"
then vname = "hi" but I want flash to read the content of vname like that
vari = "hi"

This is a pointless example, I know, but you get what I want to do. Is there
any way to do it??
Thanks!!
NSurveyor
10/18/2005 9:22:03 PM
vname = "vari";
this[vname] = "hi";
AddThis Social Bookmark Button