avm2

AVM2 and ABC (Adobe's ActionScript bytecode format) spec licensing.. can I use it?

Google is failing me on this one. Let's say I have some ECMA script that I've compiled to an ABC bytecode file using the compiler in the Open Source Flex SDK. Is it within the terms of use (That I can't seem to find) for me to use the AVM2 specification from adobe to create a new interpreter for this file? The best I can manage is a s...

Subclassing a private (support) class in AVM2

I am developing a dynamic mocking framework for Flex/AS3 and am having trouble with private/support types (ie. those declared outside the package {} in a class file). In my ABC "file", I am declaring the instance with the PROTECTED_NAMESPACE class flag and with a PRIVATE_NS multiname. I have also experimented with giving it the same nam...

How do generics (Vector) work inside the AVM?

Support for generics (currently only Vector.<*>, and called 'postfix type parameters' by Adobe) was added in Flash Player 10, but the only AVM2 documentation does not describe how these objects are accessed. Specifically, I noticed a new opcode (0x53) and a new multiname kind (0x1D) that seem relevant, but their usage is not documented....

What tools are available to edit/create AVM2 bytecode?

I'd like to generate some bytecode for the Flash 10 AVM2 directly, i.e. without AS3. An assembler that produced a SWF file would be ideal. Does this exist? If not, what's the easiest way to get from assembler abc SWF? ...

Something to allow "Writing flex without ActionScript", or "Java to AVM2 compiler", or "Write Flex using Java" exists?

There are many dynamic languages that target Sun's JVM (Groovy, Scala, Jython, Jruby etc) and I was sure there are many that target Adobe's AVM as well. But I was surprised to find only haXe do something similiar. related question on this site I think the eclipse e4 SWT project doesn't compile to ABC (ActionScript Byte Code) directly, ...

What are $cinit and $init in AVM2?

Got pulled into a long thread of link-hopping and googling about this today, but still don't have much of a grasp on what $cinit and $init are. I care because I learned today that $cinit and $init are interpreted (by the FP, if I understand correctly), while everything else is compiled. I think that $init refers to the given class's co...

Flash on Linux Server

Hi, I'm a Flash fanboy and want to hear that Flash works well with a Linux Server. How is Flashes performance in a Linux environment? I'm ignorant about servers and linux, but should have an answer. I'm trying to be objective. Thanks, REQUIREMENTS: • First prove Flash without a media server 'just flash runtime AVM2' • Have an answer f...

actions vs. avm instructions in actionscript

My questıon is that, what are actions and what are avm instructions. I've been reading these two documents: http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v10.pdf http://www.adobe.com/devnet/actionscript/articles/avm2overview.pdf but I couldn't get the concept of it. Could anyone with more understanding of it explain this pl...

Draggin Dropping of AVM1(ActionScript 1/2) dont work in AVM2(ActionScript 3/Flex)

Hi I have a application developed in ActionScript 2 which has dragging/dropping activity. which works fine. I used following to test dropping dropObject.hitTest(_root._xmouse, _root._ymouse, true) //if true, drop currently dragging object Problem occurs when I put this SWF in my Flex application SWFLoader container. dragging dosen't ...