flash on 2010-11-13

by aruerula
♥0 | Line 17 | Modified 2010-11-13 21:38:42 | MIT License
play

ActionScript3 source code

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

package {
    import flash.events.MouseEvent;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            
            init();
            
        }
        
        
        
        private function init():void{
            
            this.graphics.beginFill(0x00000);
            this.graphics.drawRect(stage.stageWidth / 2 ,stage.stageHeight / 2,200,50);
            this.graphics.endFill();
            
            this.addEventListener(MouseEvent.MOUSE_DOWN,mouseDown);
           
        }
       
        private function mouseDown():void{
            
           
        }

        
 


    }
}