importing svg file


i not see in stage while import svg file.

 

var loader:loader=new loader(); loader.load(new urlrequest("one.svg")); var a:sprite=new sprite(); a.addchild(loader); addchild(a); 

 

 

above code code if include normal jpg,gif file. there solution import svg file through as3 ?

svg xml file. far know cannot load , display svg file @ runtime natively. can embed @ authoring , instantiate later.

 

i believe there packages on web use drawing api draw graphics based on svg xml.



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

Flash Builder 4 - Debugger fails to connect

"Error compiling the data model"

Thread: Ubuntu not working - mount /dev on /root/dev failed : no such file or directory