I'd like to render to svg data in a swf at runtime (not in Flex - not using degrafa) - how would I go about doing that?
+1
A:
If ActionScript 2:
Use the com.itechnica.svg (PathToArray) library to load SVGs at SWF runtime and display them (uses XML for SVG parsing):
Using SVG Path Data in Flash, Code download button on the right pane.
If ActionScript 3:
Use the com.zavoo.svg (SvgPath) library to load SVGs at SWF runtime and display them (uses RegExp for SVG parsing):
Source code for SvgLoad and SvgDraw, Code download button on the bottom-left.
Jenko
2008-12-04 00:11:13