Is there a way to render svg data in a swf at runtime?
-
09-06-2019 - |
Question
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?
Solution
The Ajaxian blog had a post about this today.
OTHER TIPS
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow