Is there a possibility to extract variable name from string and using it as variable
var myvar:String = "flash";
var flash:Number = 10;
trace( myvar as variable );
something like that
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use it as a property of an object.
or
If you don’t know what property name is going to be, then you should use
dynamicclass (Objectisdynamicby default)