flash on 2012-3-10

by umhr
♥0 | Line 16 | Modified 2012-03-10 15:41:41 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            
            graphics.beginFill(0xFF00FF,0.5);
            graphics.drawRect(150,150,100,100);
            
            graphics.beginFill(0x0000FF,0.5);
            graphics.drawCircle(150,150,50);
            
            graphics.beginFill(0x0000FF,0.5);
            graphics.drawCircle(250,150,50);
            
            graphics.drawRoundRect(50,50,50,50,20,20);
            
            // daendesu
            graphics.beginFill(0xCCCCCC,1);
            graphics.drawEllipse(300,50,100,50);
        }
    }
}

Forked