forked from: bug?

by ProjectNya forked from bug? (diff: 5)
...
@author narutohyper
♥0 | Line 23 | Modified 2010-10-30 17:13:12 | MIT License
play

ActionScript3 source code

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

// forked from narutohyper's bug?
package
{
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.display.StageQuality;
    
    /**
     * ...
     * @author narutohyper
     */
    public class Main extends Sprite
    {
        
        public function Main():void
        {
            if (stage) init();
            else addEventListener(Event.ADDED_TO_STAGE, init);
        }
        
        private function init(e:Event = null):void
        {
            removeEventListener(Event.ADDED_TO_STAGE, init);
            // entry point
            stage.quality = StageQuality.HIGH;
            this.graphics.lineStyle(50, 0x0, 1,true, "normal");
            this.graphics.beginFill(0xFF0000);
            this.graphics.drawRoundRect(100, 100, 200, 200, 25, 25);
            this.graphics.endFill();
            
            
        }
        
    }
    
}