備品その1

by Nowloading_
♥1 | Line 19 | Modified 2011-05-02 15:31:31 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            graphics.lineStyle(3,0x666666);
            graphics.beginFill(0xcccccc);
            graphics.drawRect(10,10,240,160);
            graphics.endFill();
            
            graphics.beginFill(0xffffff);
            graphics.lineStyle(2,333333);
            for(var i:int=0;i<4;i++){
                for(var j:int=0; j<3;j++){
                    graphics.drawRect(20+i*60,20+j*50,40,40);
                }
            }
            graphics.endFill();
        }
    }
}