delux247
delux247

Reputation: 2177

Are there any libraries for generating flash swf files or converting svg to swf

I was wondering if anyone knows of any libraries for programatically creating flash swf files.

Or for creating swf from svg.

Upvotes: 4

Views: 2304

Answers (6)

izb
izb

Reputation: 51761

It's an early days project, so there may be some fiddling, but Swiffotron can load, modify, generate and combine SWF files.

Upvotes: 0

Shahzad Latif
Shahzad Latif

Reputation: 1424

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.

Upvotes: 1

laurentvaucher
laurentvaucher

Reputation:

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...

Upvotes: 1

Chris Craft
Chris Craft

Reputation: 5315

You should check out SwfDotNet . It's done in .NET.

Here's an example check this out:

How to transform JPEG to SWF on the fly

Upvotes: 1

theraccoonbear
theraccoonbear

Reputation: 4337

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.

Upvotes: 3

Chris Blackwell
Chris Blackwell

Reputation: 9219

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.

Upvotes: 5

Related Questions