views:

133

answers:

2

Does Air supports SVG and if it not possible is there another way to event sensitive graphics draw via JavaScript.

A: 

Adobe Air has an embedded WebKit which partially supports SVG 1.1 As an alternative rendering engine in Adobe Air application you can use Flash, which is much based on vector graphics.

Sergey Ilinsky
Unfortunaly you're wrong. It based on webkit but no svg will be drawn. Maybe it will come with Air2
eskimoblood
+1  A: 

But I found a way to draw vector graphics, using flash, over the html

air.Shape = window.runtime.flash.display.Shape;
this.shape = new air.Shape();
this.shape = new air.Shape();     
this.shape.graphics.lineStyle(1,0); 
this.shape.graphics.drawCircle(0,0,200); 
this.shape.graphics.endFill(); 
window.nativeWindow.stage.addChild(this.shape);
eskimoblood