flash on 2010-3-8

by ushisantoasobu
♥0 | Line 16 | Modified 2010-03-08 23:56:11 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite{
        public function FlashTest() {
        		
        		var aaa:Sprite = new Sprite();
        		aaa.graphics.beginFill(0x000000);
        		aaa.graphics.drawRect(100,100,100,100);
            this.addChild(aaa);
            aaa
            
            var bbb:Sprite = new Sprite();
        		bbb.graphics.beginFill(0x343434);
        		bbb.graphics.drawRect(100,300,100,100);
            this.addChild(bbb);
            
            
        }
    }
}