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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With