Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export a vector shape created in flash to svg

Is it possible to export a vector shape created in flash to an svg file for example? Or any other vector format?

If it is possible - how can I do that? Are there any libraries or examples (or both)?

like image 215
Unknown Avatar asked Jan 03 '13 16:01

Unknown


2 Answers

Although it's a little late, you may also want to check out flash2svg by David Belias - it's an MXP extension for Flash that can export Flash vectors to SVG natively.

It's compatible with Flash CS4 & CS5, although no information is immediately available regarding compatibility with other versions.

UPDATE December 2015:

Actually, even better than this (as I had issues with this extension myself): SWF2SVG on wonderfl (no longer working)- this works perfectly and I've used it about a dozen times on a recent project.

UPDATE December 2017:

As @orangesherbert pointed out, wonderfl.net has been killed off, and most browsers will no longer run Flash content unless explicitly enabled. However, Flash is still the best way to read Flash shapes and convert them to SVG shapes, so I created a standalone Windows tool to do just that, which you can download here:

Flash2SVG tool (v1.2.1 updated April 2019: Now includes options!)

It's a Windows installer for a small program that will take any compiled SWF and convert it into an SVG. I still do this very regularly myself, so I'm pleased I was able to make it into a standalone executable.

Image SWF2SVG window, featuring options for converting an SWF file to an SVG

This was built in Flash (surprise!) and compiled as an Air for Desktop app. It was signed with the Windows SDK SignTool with a self-issued certificate. If you have issues (or want it for your Mac?), let me know.

(If anyone wants to still just override their browser settings and allow Flash to run online so they can do this in the browser instead, let me know and I'll find somewhere to host it.)

like image 172
indextwo Avatar answered Sep 21 '22 03:09

indextwo


After a lot of searching - the way to do it is to export the currently selected shape to .fxg and the resulting fxg can be opened in AI with the Place option. Then just choose save as and choose the desired vector format.

like image 38
Unknown Avatar answered Sep 20 '22 03:09

Unknown