Ralf mate, you're on a roll! I've seen you doing a lot of excellent work on swfmill the past couple weeks. I will definitely have a play with this patch on the weekend.
Keep up the good work! - Luke -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Fuest Sent: Thursday, 3 May 2007 11:33 To: swfmill@osflash.org Subject: [swfmill] Improved SVG support Hello, I've recently worked on swfmill's SVG import feature. I attached a first version of the patch to this email. In my tests it was pretty stable and produced good results with many SVG files. Here is a list of some of the new features and bugfixes: - the transform attribute now accepts more than one transformation - circles, ellipses, lines and rounded rects are supported - painting styles defined in a g-node are used in its child nodes - color names and rgb(r, g, b) colors work - stroke caps and stroke joins (flash 8 only) - linear and radial gradients - strokes with gradients (flash 8 only) - multiple svg files with the same ids should work (ticket #14) - most of the problems in ticket #12 There are still some things that need to be fixed (like the text support), but I hope it is an improvement. I would like to get some feedback if it works for your SVG files. Here are some small demo swfs: http://pep-mp.de/swfmill/swfmill.html (I'm not an artist ;) ) http://pep-mp.de/swfmill/icons.html (some svg icons) @Gerrit: I also experienced a lot of flashplayer crashes during the development, but they all happened during the development of the gradient support. The crashes were caused by false values in a transformation matrix, the player didn't crash after I fixed that problem. The black fill stretching to the sides of the stage is caused by strokes that aren't closed, so that the fill can "escape" at the left and right side where the shape isn't closed. When you need a open shape, that is filled, you need to close it using a invisible stroke. Ralf _______________________________________________ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org