There are lots of ways to check the type of an object in AS3. These include the
is operator, the deprecated
instanceof operator, the
constructor field, and a combination of
getDefinitionByName. Which is fastest, cleanest, and most effective? Today’s article puts them all to the test to find out!
Read the rest of this article »