简体   繁体   English

如何在运行时使用as3列出库中的对象

[英]How to list objects in library using as3 at runtime

i would like to, somehow, interact with my library.. I have a lot (near 100) of objects exported as classes at specific folder into library, and i would like to get its properties. 我想以某种方式与我的库进行交互。我有很多(接近100个)对象作为类在特定文件夹中导出到库中,并且我想获取其属性。 How can i do it? 我该怎么做? there is some AS3 method that can list exported object classes? 有一些AS3方法可以列出导出的对象类吗?

in runtime , try this : 在运行时,请尝试以下操作:

trace(ApplicationDomain.currentDomain.getQualifiedDefinitionNames());

before version 11.3 use this library : 在版本11.3之前使用此库:

http://etcs.ru/pre/getDefinitionNamesSource/ http://etcs.ru/pre/getDefinitionNamesSource/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM