I was wondering if anyone knows of any libraries for programatically creating flash swf files.
Or for creating swf from svg.
I was wondering if anyone knows of any libraries for programatically creating flash swf files.
Or for creating swf from svg.
This sounds like a perfect job for swfmill I think you'll find it will allow you to do both, convert SVG to SWF and to create SWF files from code.
Ming, which is written in C can generate SWF content. There are bindings for Ming in Perl via the SWF module and I believe it can be used with PHP as well. As far as SVG to SWF conversion, it looks like there's a Python program that can do that, but it sounds as though it's still a bit rough around the edges.
You should check out SwfDotNet . It's done in .NET.
Here's an example check this out:
It seems swfmill is not as good as the standard mxmlc to convert and embed SVG files. I tested it on some simple files and it lost all color and font information.
For me, the question is still relevant, because mxmlc also loses some attributes of my SVG files, mainly gradients...
Hi,
You can use Aspose.Flash to create SWF files from scratch or from an SVG file. You can get complete help from the Programmer's Guide and Demos. You can also ask question in our forums for any technical issues or concerns.
I'm a member of the Aspose.Flash team.