Converting a string into a CheckBox

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-20T18:10:13Z Indexed on 2010/05/20 19:00 UTC
Read the original article Hit count: 158

Filed under:
|
|
|

I have a string which is ultimately the id of a CheckBox.

What I need to be able to do is to access the CheckBox's properties from the string

var myCheckBox:Object; var myString:String;

myString = "checkbox_1"

myCheckBox = Object(myString); ?!?!

... and then I'd need to get to myCheckBox.selected, and myCheckBox.label etc

© Stack Overflow or respective owner

Related posts about flex4

Related posts about adobe-flex