There is anyway to get the type of an element?

Like if i have 

<mx:Button id="bt" />


how would i do to get that the element "bt"  is a Button?

I don't want to test if "bt is Button"  i want to know that it is a
button... something like you can do with variables. like
"typeof(variable) == "string" " 

any clues?

raf


Reply via email to