[swfmill] Jing like application

John Aughey jha at aughey.com
Mon Aug 13 19:18:07 PDT 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swfmill_osflash.org/attachments/20070813/4f34bd7c/attachment.html 


More information about the swfmill mailing list