Questions tagged [avm2]

AVM2 is the second iteration of the Actionscript Virtual Machine.

AVM2 executes programs written in .

35 questions
2
votes
3 answers

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…
Eran Medan
  • 44,555
  • 61
  • 184
  • 276
1
vote
3 answers

Is there a hang or lag when using the Loader.load() function in Flash/AS3?

I have created a simple list of images that are to be reloaded every 60 seconds. However, I have noticed that when the reloading process begins, Flash seems to hang or at least doesn't accept/remember any mouse input at all. Specifically, while it's…
xLite
  • 1,441
  • 3
  • 15
  • 28
1
vote
1 answer

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…
besamelsosu
  • 461
  • 3
  • 11
1
vote
1 answer

Can methods be executed in overlap?

Summary: I'm trying to find out if a single method can be executed twice in overlap when executing on a single thread. Or if two different methods can be executed in overlap, where when they share access to a particular variable, some unwanted…
1
vote
1 answer

What's the Mozilla Tamarin status?

Wikipedia claims Tamarin under Mozilla is active, but it's not listed under mozilla labs projects at all and it seems all docs from MDN are in 'obsolete' section. Is the project still supported?
Szymon Brych
  • 111
  • 2
  • 10
1
vote
2 answers

What are $cinit and $init in AVM2?

UPDATE: Found some nice info on AVM2. I haven't been able to spend much time with it, but it definitely covers $init and $cinit (as well as $iinit, and a lot of other things). I'll post a response to this question if I get a good handle on the…
Ross Henderson
  • 1,779
  • 16
  • 23
1
vote
2 answers

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?
also
  • 974
  • 7
  • 21
1
vote
3 answers

How do Adobes AS3-"Core-Libraries" function?

First of all, I could not decide if I should ask this here or at "programmers", please be gentle ;) I wonder what happens under the hood in what I would call "core libraries" of AS3 (yes, that might not be the exact term in this case, but now you…
0
votes
0 answers

Multiple DoABC tags for boilerplate reuse

I'm working on a tool for compiling TypeScript to SWF. I didn't get on the transformer for example yet, but I wanted to reused a little bit of boilerplate code from another abc. What I'm doing is simply contributing ABCs from a SWC to the output…
Hydroper
  • 344
  • 2
  • 9
0
votes
2 answers

ActionScript - trace().Top level function behavior

When I'm tracing a variable in Flash Player Debug, I'm getting a strange behavior. Let's assume that we have a pattern like "x:y". "x" and "y" are integer vars. If we trace that expression with trace("x:y"); the behavior is 1) if x < 10 "x"…
surlac
  • 2,961
  • 2
  • 22
  • 31
0
votes
0 answers

How to make a custom Flash Player?

I am currently working on a project of creating my own Flash Player to which I could implement my own custom handling and execution of SWF files that are being played in the browser. Unfortunately, the two major ones, Adobe Flash Player and Chrome's…
KopJoe
  • 11
0
votes
1 answer

ActionScript AVM2 avm2.intrinsics.memory package missing functions

I have a swf file and I decompiled it. And I get fla and as files , I am trying to run this files but I get these errors 1180: Call to a possibly undefined method li8. 1180: Call to a possibly undefined method li8. 1180: Call to a possibly…
0
votes
1 answer

AS3: Classloading order

I had a quick question on static blocks in AS3. I have a library that requires initialization statically before any application logic is executed. If I insert a static code block like the following, will this truly be executed before everything…
Naftuli Kay
  • 87,710
  • 93
  • 269
  • 411
0
votes
0 answers

How to get the micro time possibly using the Sampler classes in Flash?

I've tried everything to get the microtime in Flash using the sampler class but to no avail. Here is my code so far: import flash.sampler.Sample; import flash.sampler.getLexicalScopes; import flash.sampler.getMemberNames; import…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

VerifyError #1023 when trying to modify AVM2 bytecodes

I'm trying to patch the bytecode of a SWF from RABCDasm. Here's my patch: findpropstrict QName(PackageNamespace("flash.net"),"URLRequest") pushstring "http://www.example.com/fake_proxied_post" constructprop …
Chih-Hsuan Yen
  • 754
  • 2
  • 11
  • 29