In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

forked from: 閉じた図形の描画属性の設定_4

Get Adobe Flash player
by ganyan 24 Mar 2011
    Embed
/**
 * Copyright ganyan ( http://wonderfl.net/user/ganyan )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/rNWn
 */

// forked from shmdmoto's 閉じた図形の描画属性の設定
package 
{
    import frocessing.display.F5MovieClip2D;
    /**
     * 円の輪郭・塗りの設定:
     * @author shmdmoto
     */
    public class GraphicExample extends F5MovieClip2D
    {
        public function setup() : void
        {
            // ここに描画命令を記述します.
            // 初期設定の描画属性
            noStroke();
            fill(255,0,0);
            rect(100,100,100,100);
            fill(255,255,0);
            rect(200,100,100,100);
            fill(0,255,0);
            rect(300,100,100,100);
            fill(255,0,255);
            rect(100,200,100,100); 
            fill(0,0,255);
            rect(100,300,100,100);
            fill(0,255,255);
            rect(200,200,100,100);
            
            
        }
    }
}