General Question

jmdecombe's avatar

How to test for class inheritance in ActionScript 3?

Asked by jmdecombe (9 points ) October 6th, 2009

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?

Observing members: 0 Composing members: 0

1 Answer

patg7590's avatar

hahahahahahha this is why I haven’t started trying to learn AS yet

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther