How to list objects in library using as3 at runtime

断了今生、忘了曾经 提交于 2019-12-13 06:25:16

问题


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. How can i do it? there is some AS3 method that can list exported object classes?


回答1:


in runtime , try this :

trace(ApplicationDomain.currentDomain.getQualifiedDefinitionNames());

before version 11.3 use this library :

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



来源:https://stackoverflow.com/questions/12084097/how-to-list-objects-in-library-using-as3-at-runtime

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