R – Can Adobe AIR display SVG

airsvg

I see that Adobe AIR uses WebKit as its render and I see that WebKit (at least the most current build) has some SVG support. Does this mean (and has anyone specifically tried) that an Adobe AIR application could render SVG on an HTML page?

Best Answer

On the offchance that it's helpful (and that you don't already know), Flex can embed SVG at runtime compile time, which effectively converts it to SWF format and embeds it as a resource.

[Embed(source="assets/frog.svg")]
[Bindable]
public var SvgAsset:Class;

More info at Adobe's embedding assets article.

Related Topic