flash on 2010-5-2

by smart_ant
♥0 | Line 12 | Modified 2010-05-02 23:24:51 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var sp:Sprite = new Sprite();
            sp.graphics.beginFill(0xff0000);
            sp.graphics.drawCircle(0,0,50);
            sp.graphics.endFill();
            addChild(sp);
        }
    }
}