Question

I'm trying to use an SVG file in my Flex app - but it seems the best way to do that is to convert it to MXML. However, I cannot find an SVG to MXML converter. There seem to be a number of SVG to XAML converters (for Silverlight/C#), but I can't find anything analogous for Flash/Flex.

Any help would be appreciated.

Thanks, Karthik

Was it helpful?

Solution

You should be able to Embed the SVG directly, without a converter.

OTHER TIPS

Well, the SVG is an XML file, basically. So if you want to import it at runtime, you could read it as an XML file and then use the AS3 drawing API to render it. Check out this ActionScript 3 SVG renderer on Google Code!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top