Get list of Class names in package

2020-05-05 01:55发布

问题:

Is there any way I can get a list of all the classes in a particular package?

I know getDefinitionByName, getQualifiedClassName, and getQualifiedSuperclassName in flash.utils can find me a class, but I can't find anyway to find all the classes in a package at runtime.

回答1:

No, ActionScript reflection is limited to the three functions you mentioned and flash.utils.describeType(object:*).