flash on 2013-7-19

by tepe
♥0 | Line 12 | Modified 2013-07-19 15:00:09 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var s:Sprite = new Sprite();
            s.graphics.beginFill(0x0);
            s.graphics.drawRect(0,0,20,20);
            s.graphics.endFill();
            addChild(s);
            
            
        }
    }
}