Get list of Class names in package

强颜欢笑 提交于 2019-12-31 05:23:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!