In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

Red2D V0.4 - Molehill 2D Engine Test01

Molehill 2D Engine Text
Get Adobe Flash player
by Seonki.Paik 28 Jul 2011
/**
 * Copyright Seonki.Paik ( http://wonderfl.net/user/Seonki.Paik )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/aBQR
 */

package {
    import flash.events.MouseEvent;
    import flash.text.TextField;
    import flash.display.Sprite;
    import flash.net.URLRequest;
    import flash.net.navigateToURL;
    
    [SWF(backgroundColor="000000")]
    public class FlashTest extends Sprite {
        
        private var infoTitle:TextField; 
        
        public function FlashTest() {            
            setInfo()
            buttonMode=true
            stage.addEventListener( MouseEvent.MOUSE_DOWN, HD_Down)
        }
        
         /**
         * 정보타이틀 출력 
         * 
         */        
        protected function setInfo():void{
            
            infoTitle = new TextField
            
            stage.addChild(infoTitle)
            
            infoTitle.text = "Red2D V0.4 - Molehill 2D Library"
            infoTitle.appendText ("\nClick - View Red2D V0.4 Demo!\n")
            infoTitle.textColor=0x777777
            
            infoTitle.appendText("\nCode DownLoad - http://code.google.com/p/red2d-agal2d/downloads/list")
            infoTitle.appendText("\nView Sample List - http://redcamel-studio.tistory.com/43")
            infoTitle.appendText("\n\n You need FP11 Beta!!!!!!!!!")
            infoTitle.autoSize="left"
            infoTitle.background=true
            infoTitle.backgroundColor=0x000000    
            
            infoTitle.x = stage.stageWidth/2-infoTitle.width/2
            infoTitle.y = stage.stageHeight/2-infoTitle.height/2        
        }
        
        private function HD_Down( $event:MouseEvent ):void{
            var url:String = "http://redcamel-studio.tistory.com/43"
            var request:URLRequest = new URLRequest(url);
            navigateToURL (request,"_blank");   
        }

    }
}