Sprie Test
備忘録
シンプルな円の作成
♥0 |
Line 21 |
Modified 2010-10-09 12:25:36 |
MIT License
archived:2017-03-20 01:51:38
ActionScript3 source code
/**
* Copyright _perfect ( http://wonderfl.net/user/_perfect )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/vsGw
*/
package
{
import flash.display.Shape;
import flash.display.Sprite;
public class SpriteTest extends Sprite
{
private var shape:Shape;
public function init():void
{
shape = new Shape();
this.addChild(shape);
shape.graphics.beginFill(0x555555);
shape.graphics.drawCircle(100,100,80);
shape.graphics.endFill();
}
public function SpriteTest():void
{
init();
}
}
}