flash on 2009-8-19
http://www.adobe.com/jp/devnet/flash/articles/spark_project_svg.html
から
SVGのてすと
/**
* Copyright hacker_9m8qtizk ( http://wonderfl.net/user/hacker_9m8qtizk )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/25mK
*/
/*
http://www.adobe.com/jp/devnet/flash/articles/spark_project_svg.html
から
SVGのてすと
*/
package
{
import flash.display.Sprite;
import frocessing.shape.FShapeSVG;
public class HelloSVG3 extends Sprite
{
public function HelloSVG3()
{
var svg:XML =
<svg>
<circle cx="150" cy="75" r="45" fill="#7FBCFF" stroke="#202052" stroke-width="8" />
<circle cx="150" cy="75" r="30" fill="#FFFFFF" />
<circle cx="150" cy="75" r="15" fill="#FF4900" />
</svg>;
var shapedata:FShapeSVG = new FShapeSVG(svg);
addChild( shapedata.toSprite() );
}
}
}