flash on 2010-6-23

by atsu
♥0 | Line 34 | Modified 2010-06-23 20:58:35 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.*;
    import flash.text.*;
    import flash.events.*;
    import flash.media.Video;
    import flash.net.*;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            /*http://dkiroku.com/2008-11-15-1.html*/
            /*http://kachibito.net/web-design/html5-canvas.html*/
            /*http://www40.atwiki.jp/spellbound/*/
            /*http://osima.jp/blog/js-getBrowserWidth/index.html*/
            var tf:TextField=new TextField();
            addChild(tf);
            tf.width=465;
            var tfmt:TextFormat=new TextFormat();
            tfmt.size=20;
            tf.defaultTextFormat=tfmt;
            tf.text=favURL.gd;
            tf.addEventListener(MouseEvent.CLICK,tfClick);
        }
        private function tfClick(e:MouseEvent):void
        {
                navigateToURL(new URLRequest(favURL.gd),"_blank");
        }
    }
}

class favURL
{
    public static const a:String="http://dkiroku.com/2008-11-15-1.html";
    public static const b:String="http://kachibito.net/web-design/html5-canvas.html";
    public static const c:String="http://www40.atwiki.jp/spellbound/";
    public static const d:String="http://ikekou.jp/blog/archives/438";
    /*http://exey.ru/blog/home/first-person-shooter-example-alternativa3d-away3d-papervision3d-sandy3d/*/
    /*http://techwave.jp/archives/51469195.html*/
    static public function get gd():String
    {
        return d;
    }
}