[swfmill] Creating a library swf
Laurent Auneau
laurent.auneau at succubus.fr
Mon Jun 22 03:23:39 PDT 2009
Hi Robin,
it changed some stuff, but didn't work better.
The generated file is no more empty (697KB), but if I link this one during
compilation, my SWF won't display (white background and nothing more when I
asked for a green one, with a button and a text field).
If I link against one of the original ones (disabling all calls to the
other), then it works fine.
Do I have to do some specific stuff inside the main to call the code inside
the libraries?
Laurent
2009/6/22 Robin Palotai <palotai.robin at gmail.com>
> 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
> >
> >
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20090622/84483d33/attachment.html>
More information about the swfmill
mailing list