Are there libraries for creating flash swf files or converting svg to swf

I was wondering if anyone knows of any libraries for programmatically creating Flash swf files.

Or to create swf from svg.

+4
source share
6 answers

This sounds like perfect work for swfmill. I think you will find that it will allow you to both convert SVG to SWF and create SWF files from code.

+5
source

Ming , which is written in C, can generate SWF content. There are bindings for Ming in Perl through the SWF module , and I believe that it can also be used with PHP. Regarding converting SVG to SWF, it looks like a Python program that can do this, but sounds like it's still a little rough around the edges.

+3
source

You should check out SwfDotNet . This is done in .NET.

Here is an example:

How to convert jpeg to swf on the fly

+1
source

It seems that swfmill is not as good as the standard mxmlc for converting and pasting SVG files. I tested it on some simple files and it lost all the color and font information.

For me, the question remains relevant, because mxmlc also loses some attributes of my SVG files, mostly gradients ...

+1
source

You can use Aspose.Flash to create SWF files from scratch or from an SVG file. You can get full help from the programmers guide and demos. You can also ask a question in our forums on any technical questions or problems.

I am a member of the Aspose.Flash team.

+1
source

This is an early days project, so some kind of game may arise, but Swiffotron can load, modify, generate and combine SWF files.

0
source

Source: https://habr.com/ru/post/1277716/


All Articles