[swfmill] svg conversion to flash
Gerrit .
g99k at hotmail.com
Wed Oct 18 07:49:08 EDT 2006
>im planning something like this:
>
>1. render an 3d animation (100's of images)
>2. use potrace/autotrace to batch conbert them to svg/ps (the direct swf
>export of autotrace sucks)
>3. batch convert the svg/ps files to swf files
>4. use swfmill to compose the swf files into one swf-animation
Hi Martin. For testing purposes, I used a shell script to automatically
convert all svgs in a folder to swfs. It is probably kind of inefficient, as
it copies an xml template for each file. If you are interested though, I can
send it to you.
However, if step 3 is not necessary (i.e. you don't need every svg as a
separate swf file), I'd rather suggest that you skip this step altogether.
It's simpler to convert your svg and compose the animation in one single
step.
Then you just need a single swfml file like the one below, which can easily
be produced by a script. You don't even need to change it when you rerender
your svg files.
<movie ...>
...
<frame>
<library>
<clip id="id_01" import="file_01.svg"/>
</library>
<place id="id_01" .../>
</frame>
<frame>
<library>
<clip id="id_02" import="file_02.svg"/>
</library>
<place id="id_02" .../>
</frame>
...
</movie>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the swfmill
mailing list