[swfmill] Accessing frames in AS3

Eric Priou erixtekila at gmail.com
Thu Nov 15 01:53:25 PST 2007


Hi,

Nice find.

> <FileAttributes hasMetaData="0" allowABC="1"  
> suppressCrossDomainCaching="0" swfRelativeURLs="0" useNetwork="0"/>
>

> So, my question is... what exactly is this line and what does it  
> do? Is there any way to get this line inserted into the swf the  
> first time I run swfmill simple? What I'm doing now works... but I  
> have to compile, decompile, insert line of code, recompile again.  
> It would be nice if I didn't have to compile twice.

You're asserting that all swf made with swfmill that target the as3  
so-called VM2 are used in fact in the VM1 when loaded.
This is an issue for a lot of people (I think of haXe users for  
example), eventhough they only use swfmill to embed graphic assets in  
a swf (no scriptable movieclips).

To be sure, it seems that you're using a svn version of swfmill.
Can Ralf precise if the allowABC and suppressCrossDomainCaching  
attributes have been added lastly to swfmill ?
(Too bad that I don't get  to build it for osx !)

I assume that those bytecode tells the Flash player that the code  
inside is targeted to the VM2.
ABC means Actionscript ByteCode, but also the new JIT of Flash player  
 > 9.

Then you've created a plain swf9 compatible swf with those arguments.
Does that answer your question ?

Cheers.

----
Eric Priou
aka  erixtekila
Articles : http://www.v-i-a.net/inprogress
Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano
Oregano forum : http://www.v-i-a.net/forum/





More information about the swfmill mailing list