Previously I was expecting to use AS to play the movie.  If I did some
compression to overlay smaller png images, I'd need to have some sort of
"script" to tell the AS where to put it.  But if, as you suggest, I create
the movie as a series of frames then I don't have to worry about it.
Smaller clips could be placed using x= and y= too.

I'll look into Ming.  It looks like there are other SWF generators out there
too.  For my very limited needs, ming or something similar should suffice.

Thank you for your help and suggestions.

John Aughey

On 8/14/07, Ralf Fuest <[EMAIL PROTECTED]> wrote:
>
> Hello John,
> when you insert all pngs inside a library tag you'll need to use AS or
> haXe to play them. I think it might better to do this inside the swf
> file using different frames for your png files. Something like this
> should work:
> <frame>
>         <clip id="foo0" import="library/foo0.png"/>
>         <place id="foo0" depth="1"/>
> </frame>
> <frame>
>         <clip id="foo1" import="library/foo1.png"/>
>         <place id="foo1" depth="2"/>
> </frame>
> This way the flashplayer does all the work necessary to playback your
> png files. You can also load this swf file with loadMovie or the
> MovieClipLoader and use the normal commands, like gotoAndPlay, to
> control the playback.
> I don't think it's easy to get the code, necessary to write such a swf
> file, out of the swfmill source. But it shouldn't be too hard to write a
> swf writer with the features you need for your project.
> There also is a library called ming, that can create swf files. I
> haven't used it or looked at it, but it might work for your project.
>
> Ralf
>
> > I'm developing an application that needs to do something similar to
> > Jing (http://jingproject.com/).  Basically, the application
> > records/captures a window and generates an SWF file that's posted on a
> > web site.  The resulting SWF files actually has small rectangular
> > segments, rather than the entire frame, but you could think of it as
> > embedding hundreds of png images to the SWF file.
> >
> > This is something I think swfmill could handle.  If I understand it
> > right, I could create the image library with something like:
> >
> > <frame>
> >   <library>
> >     <clip id="foo0" import="library/foo0.png"/>
> >
> >     <clip id="foo1" import="library/foo1.png"/>
> >     <clip id="foo2" import="library/foo2.png"/>
> >     <clip id="foo3" import="library/foo3.png"/>
> >
> >     <clip id="foo4" import="library/foo4.png"/>
> >   </library>
> > </frame>
> > and then create my movie player application that uses this swf image
> > library to play the video.
> >
> > Am I right in what I'm thinking here?
> >
> > I assume I'd be able to load this image library into flash application
> > using loadMovie or the MovieClipLoader class to then access the
> > resources.  Ideally, I'd write the player once and have it dynamically
> > load the image sequence swf file to play.
> >
> > It'd also be nice to integrate this functionality with my own
> > application.  Rather than writing out hundreds of intermediate png
> > files, I'd like to write it to the swf file directly.  I've started to
> > look at the source code for swfmill a bit.  I would think it'd be easy
> > to factor out this limited section of the library.
> >
> > Any thoughts on what I'm trying to do?   Am I heading in the right
> > direction?
> >
> > Thank you
> > John
>
>
> _______________________________________________
> swfmill mailing list
> swfmill@osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to