[swfmill] as3compile

Richard Humphreys r_j_humphreys at yahoo.co.uk
Thu Nov 5 08:03:59 PST 2009


Dan,

I won't be able to play with this until at least the weekend, but
I'll see what I can produce. Can you please post your test files sometime so
that I can see if I'm making any glaring errors?

I was surprised by one part of your post. It looks like you are
constructing the graphics assets, then using that in the compile (the
'haxe' way):

    swfmill simple assets.xml assets.swf
    as3compile -l assets.swf -o example.swf example.as

I was assuming (based on various legacy posts) that it would be done in
the opposite order, compile the AS3, then include that in the swf... For instance the this XML cropped up in a post from the mail archives:

<?xml version="1.0" encoding="iso-8859-1" ?>
<movie width="500" height="400" as3="1" framerate="12" version="9">
  <background color="#cccccc"/>
  <frame>
    <library>
     <clip id="Foo" import="as3class.swf"/>
    </library>  
    <place id="Foo" x="0" y="0" depth="1"/>
    </frame>
</movie>


so I assumed that the workflow would be:


    as3compile -o as3class.swf as3class.as
    swfmill simple result.xml result.swf


I'm a little confused, but I'll look deeper later on.

Richard.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20091105/bb714b18/attachment-0001.html>


More information about the swfmill mailing list