forked from: flash on 2011-12-9

by nsos
♥0 | Line 18 | Modified 2011-12-10 01:57:37 | MIT License
play

ActionScript3 source code

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

// forked from yokikun's flash on 2011-12-9
package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var s:Sprite = new Sprite();
            // 水色で塗りつぶす
            s.graphics.beginFill( 0x00FFFF, 1 );
            // 半径100の円を描画する
            s.graphics.drawCircle( 222, 133, 10 );
            // ステージに表示する
            
             s.graphics.beginFill( 0x00FFFF, 1 );
            // 半径100の円を描画する
            s.graphics.drawCircle( 233, 233, 30 );
            // ステージに表示する
            
             s.graphics.beginFill( 0x00FFFF, 1 );
            // 半径100の円を描画する
            s.graphics.drawCircle( 233, 233, 20 );
            // ステージに表示する
            
            s.graphics.beginFill( 0x00FFFF, 1 );
            // 半径100の円を描画する
            s.graphics.drawCircle( 400, 333, 5 );
            
            addChild( s );
        }
        FlashTest
        
    }
     
    
    
}