[swfmill] Creating a library swf
Robin Palotai
palotai.robin at gmail.com
Mon Jun 22 02:22:45 PDT 2009
Hi,
What works for us is this way:
<?xml version="1.0" encoding="utf-8"?>
<movie width="60" height="20" framerate="20" version="9">
<frame>
<library>
<sound id="BGM" import="sound/bgm.mp3"/>
<clip id="_my_mochi" import="mochiads.swf"/>
<clip id="_my_other_lib" import="somelib.swf"/>
</library>
</frame>
</movie>
Maybe works for you too.
Best regards,
Robin
On Sun, Jun 21, 2009 at 10:31 PM, Laurent
Auneau<laurent.auneau at succubus.fr> wrote:
> Hi list,
>
> sorry for the lame question, but I've been looking all afternoon for a way
> to embed several swf files togeteher as libraries, and I can't get it
> working. The swf generated weights less than a hundred bytes ...
>
> Here is the file I try to compile:
> <?xml version="1.0" encoding="iso-8859-1" ?>
> <movie width="320" height="240" framerate="12">
> <background color="#ffffff"/>
> <frame>
> <library>
> </library>
> <import file="AsWing-org.swf" url="http://localhost/AsWing-org.swf"/>
> </frame>
> </movie>
>
> Here is the command line:
> swfmill -v simple link.swfml library.swf
>
> This library.swf file is nearly empty, whereas I expected it to contain the
> AsWing-org.swf within it.
>
> If everythings seems fine up to here, then my problem might be a bit more
> complicated...
> I'm actually compiling a swf file with haXe, and trying to embed several swf
> files (AsWing, and the Adobe Facebook lib, but in the example, I left only
> the AsWing one). I might post this on the haXe mailing list if noone can
> help me here.
>
> One thing that might be important, the swf files are extracted from swc
> files.
>
> Thanks for your help,
>
> Laurent
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
More information about the swfmill
mailing list