--- In flexcoders@yahoogroups.com, "Michael Schmalle" 
<[EMAIL PROTECTED]> wrote:
>
> Adding to the insight, if you wanted to use the 'is' operator with 
those two
> arguments, you need to create an instance of the Class and then use 
the 'is'
> operator.
> This would let you know if it is an instance of the object passed.
> 
> public static function
> isObjectInstanceOfClass(obj:Object, cls:Class):Boolean
> {
>     return obj is new cls();
> }
> 
> We have asked the player engineers about the performance hit on 
this is not
> as bad as describeType in some instances.

How bout describeTypeCache?

Reply via email to