Export a vector shape created in flash to svg

北城余情 提交于 2019-12-21 05:05:26

问题


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)?


回答1:


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.

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




回答2:


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.




回答3:


Sothink SWF decompiler lets you export every frame from the flash swf file as an svg file.



来源:https://stackoverflow.com/questions/14142779/export-a-vector-shape-created-in-flash-to-svg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!