flash on 2010-2-26

by yaha
♥0 | Line 17 | Modified 2010-02-26 17:58:58 | MIT License
play

ActionScript3 source code

/**
 * Copyright yaha ( http://wonderfl.net/user/yaha )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/n9GS
 */

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            var xPos:Number;
            var yPos:Number;
            var radius:Number;
            var color:uint;
            
            xPos = stage.stageWidth/2;
            xPos = stage.stageHeight/2;
            radius = 100;
            color = 0xcccccc;
            this.graphics.beginFill(color);
            this.graphics.drawCircle(xPos, yPos, radius);
            
        }
    }
}