forked from: draw square

by fukt forked from draw square (diff: 1)
♥0 | Line 8 | Modified 2013-03-06 06:19:16 | MIT License
play

ActionScript3 source code

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

// forked from midisheep's draw square
package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var square:Sprite = new Sprite();            addChild(square);            square.graphics.lineStyle(1,0x00ff00);            square.graphics.beginFill(0x0000FF);            square.graphics.drawRect(0,0,100,100);            square.graphics.endFill();            square.x = 100;            square.y = 100;
      
      
        }
    }
}