AS3Commons-bytecode is a library providing a ABC bytecode parsing and publishing and bytecode based reflection API for AS3. Being a pure actionscript library it can be used for any Flash/Flex/AIR project.

The library provides clean, easy and complete introspection on class variables, accessors, methods, metadata and more, by parsing the bytecode returned by¬†loaderInfo.bytes. By parsing the bytecode directly it is possible to gain complete class insight, which means private members and methods, default values for optional parameters, etc. Parsing results are cached so that possibly resource expensive parsing won’t occur next time for the same class.

Furthermore the library offers runtime class generation which could be used to create mocking or dynamic proxy libraries.

Misc . URL.