any way of doing this is as3?
for example, if I have a var dog:String, how can I get \"dog\" out of that variable?
var dog:String
Looking into reflection to d
Sounds like you don't want to "get" the string representation of a variable name, but rather set the variable based on a string.
To set a variable that you have its name as a string you can do this:
this['dog'] = 'value of the dog var';