How to test for class inheritance in ActionScript 3?
I have two ActionScript 3 objects of type Class, a and b, and I want to check whether a is a class than directly or indirectly extends or implements class b. Furthermore, I want to do that in a way that rely as little as possible on legacy methods from previous versions of ActionScript. How would I write a statement or method (if multiple statements are required) so as to achieve that?
This question is in the General Section. Responses must be helpful and on-topic.