Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Adobe AIR display SVG?

Tags:

svg

air

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?

like image 658
Ed Thomas Avatar asked Sep 17 '08 22:09

Ed Thomas


1 Answers

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.

like image 51
aaaidan Avatar answered Sep 19 '22 03:09

aaaidan