Shape Export to FXG

claus edited this page Jun 13, 2011 · 3 revisions

With as3swf you can generate FXG from SWF Shapes, to reuse those shapes in your Flex 4 projects or with various other Adobe tools.

Example

The following code exports a SWF shape to FXG:

http://gist.github.com/388597

This is the FXG of an example rectangular shape with a linear gradient stroke and a radial gradient fill, exported by as3swf:

http://gist.github.com/388592