flash on 2012-9-1

by hacker_rs10vazy
♥0 | Line 13 | Modified 2012-09-01 13:11:52 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            
            
            var thing:Sprite = new Sprite();
            thing.graphics.beginFill(0xff3344);
            thing.graphics.drawRect(0,0,30,300);
            thing.graphics.endFill();
            thing.x = 23; 
            
            addChild(thing);
            
        }
    }
}