Open zwetan opened 4 years ago
many goals
.swc
.abc
librarylibrary.swf
in-memory and load the bytecodeon the fly
kDoAbcLazyInitializeFlag
for ABC
for now, if we load a SWF that is not made as library
it replaces the current execution contextSWF
but then
ABC
containedSWF
does not force to load all ABC
in memorybe able to support AVMGlue API [ApplicationDomain.getQualifiedDefinitionNames()](https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/ApplicationDomain.html#getQualifiedDefinitionNames())
SWF
, then its definitions are added to the list of getQualifiedDefinitionNames()
reuse and repurpose abcdis sources
API would be like:
avmplus.abc
avmplus.abc.types
avmplus.swf
avmplus.swc
avmplus.zip
notes:
because of classname collisions between AS3 and C++ context
all classes under avmplus.xyz
package are prepended by the package name in upper case eg. XYZClassName
for ex: avmplus.abc::BasicBlock
becomes avmplus.abc::ABCBasicBlock
etc.
general guideline:
kDoAbcLazyInitializeFlag
avmplus
other formats can either be defined in shell
if needed to be embedded
or as external libraries etc.like the other #89 AVMGlue API, we document those classes
Native formats are
ABC
: ActionScript ByteCodeSWF
: SWF fileSWC
: pre-compiled librariescatalog.xml
andlibrary.swf