I need to know the type of a component, something like
//i have a DateField named abc
trace(typeof(abs)); // should return "DateField"
but that’s not possible, so i tried doing this:
DateField.prototype._typeof = "DateField";
trace(abs._typeof); // should return "DateField"
but, components come from UIObject, but not from Objects, so they dont have the “prototype” method
is there anyway you can think of?
:*(