In ActionScript 3, you can figure out whether object O is of class C or of a class that extends or implements class C (directly or indirectly) using...
if (O is C) {
...
}
What I want to do is to test whether class CC extends or implements class C (directly or indirectly), without having to instantiate an object.
In Java, you would use...
if (C.isAssignableFrom (CC)) {
...
}
http://java.sun.com/javase/6/docs/api/java/lang/Class.html#isAssignableFrom%28java.lang.Class%29
How about ActionScript 3?
Thanks!