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
First of all if it's an instance of a custom class, you can override the toString() method.
toString()
If it's a property of the class, you can use this method — https://stackoverflow.com/posts/3781635/revisions
If it's a local variable, there is no way to get that name.