flash on 2009-11-1
♥0 |
Line 17 |
Modified 2009-11-01 09:12:31 |
MIT License
archived:2017-03-20 14:22:13
ActionScript3 source code
/**
* Copyright amashio ( http://wonderfl.net/user/amashio )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/8ukr
*/
package {
import flash.display.Sprite;
public class FlashTest extends Sprite {
private var radius:Number;
private var color:uint;
public function FlashTest(radius:Numer = 40; color:uint = 0xff0000) {
this.radius = radius;
this.color = color;
init();
}
public function init():void{
graphics.beginFill(color);
graphics.drawCircle(0, 0, radius);
graphics.endFill();
}
}
}