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
You can use ObjectUtil.getClassInfo(obj) to get information about an object
'obj', it returns another object with information about 'obj'. You can debug
to see this information. The full class name is among them.
--
Jhonny Everson
2 matches
Mail list logo