获取类,包名称的列表名称、列表

由网友(收拾好心情〃继续出发)分享简介:有没有什么办法可以在一个特定的包中的所有类的列表?Is there any way I can get a list of all the classes in a particular package?我知道getDefinitionByName,改用getQualifiedClassName和getQualif...

有没有什么办法可以在一个特定的包中的所有类的列表?

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

我知道getDefinitionByName,改用getQualifiedClassName和getQualifiedSuperclassName在闪光.utils 可以找我的一类,但我找不到反正找到所有的类在一个包在运行时。

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.

推荐答案

没有,动作反映仅限于你所提到的三种功能和 flash.utils.describeType(对象:*)

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

阅读全文

相关推荐

最新文章