问题
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:*).
来源:https://stackoverflow.com/questions/2878127/get-list-of-class-names-in-package