[swfmill] Small tool to help with SWF9 SVG import

Mark Winterhalder mark13 at gmail.com
Sat Jul 7 15:19:20 EDT 2007


Dirty, uncommented and hardly tested at all -- see attachment.

This tool (if it works at all) attempts to help with the following:

- create a swfml file
- clean up all ID names in an SVG so they can be used as class names
- write the class definitions to go with the SVG file

It's most definitely not ready for production use. All output goes to
stdout. The binary is for Linux/x86, and the path name should use '/'
as delimiter.
I'm just posting this because a friend will drop by in a couple of
minutes and later I want to try and do what I wanted to do today and
need the tool for, and knowing myself, it would just catch dust
otherwise. Maybe it is of some help to somebody anyway.

Oh, and if somebody has an idea for a proper name...

$ swfmillsvglibtool
usage:

swfmillsvglibtool <command> <infile.svg>

where <command> is one of the following:

        cleanup
                infile with all IDs modified to be usable as class names

        classfile
                all the class definitions, with the main class called <Infile>

        swfml
                to convert with swfmill simple, with the asset called <Infile>

this tool doesn't handle any errors. use at your own risk -- good luck.

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swfmillsvgtool.tar.gz
Type: application/x-gzip
Size: 43034 bytes
Desc: not available
Url : http://osflash.org/pipermail/swfmill_osflash.org/attachments/20070707/542bb710/attachment-0001.gz 


More information about the swfmill mailing list