instanceof will work at runtime
Thanks.
I should have tested by myself.
You're true, instanceof works for extends and inplements.


On 12/9/05, Scott Hyndman <[EMAIL PROTECTED]> wrote:

I know you can do this.

var implementsInterface:Boolean = ISomeInterface(objectToTest) != null;

This was the solution I was hinking of, if no other.


Thanks you both.
-----------
erixtekila
http://blog.v-i-a.net/

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to