flash on 2010-1-19

by aobyrne
♥0 | Line 16 | Modified 2010-01-19 11:42:30 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
    	
        public function FlashTest() {
            // write as3 code here..
         	init(); 
         	this.rotationX= 15;  
         	
        }
        public function init():void
        {
        		graphics.lineStyle(0);
        		graphics.beginFill(0xffffff);
        		graphics.drawRect(10,10,100,100);
        		graphics.endFill();
        }
    }
}