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.


The following code exports a SWF shape to FXG:

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