forked from: 長方形の描画

by mau2 forked from 長方形の描画 (diff: 23)
長方形の描画:
@author shmdmoto
♥0 | Line 14 | Modified 2012-01-01 13:36:17 | MIT License
play

ActionScript3 source code

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

// forked from shmdmoto's 長方形の描画
package 
{
    import frocessing.display.F5MovieClip2D;
    /**
     * 長方形の描画:
     * @author shmdmoto
     */
    public class GraphicExample extends F5MovieClip2D
    {
        public function setup() : void
        {
            // ここに描画命令を記述します.
            var x:int=100;
            var y:int=100;
            var width:int=100;
            var height:int=100;

            


/*
            for(var i:int=0; i<3; i++){
                rect(x,y,width,height);
                x+=100;
                y+=100;
            }
            
            x=300;y=100;
            for(var i:int=0; i<3; i++){
                rect(x,y,width,height);
                x-=100;
                y+=100;
            }
 */           
        }
    }
}