flash - Get the type in flex -


Can anyone tell me how to identify the type of object in Flex? Especially I have an array where I store (but all UIComponents) in many ways, like I evaluate the array, I have to find out that I have a TextInput Control or RadioButton. Is anyone's idea?

In advance thanks

You can either check against "is" Using a special class or operator you can use the flash. Boot.utils.getQualifiedClassName () (you pass it to your object) - which will return a string of fully qualified class names.


Comments