level0_ExclamationMark Tips

by Murai
@author Takashi Murai(KAYAC)
♥0 | Line 23 | Modified 2009-06-12 00:25:42 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.*;
    import flash.text.*;
    /*
        @author Takashi Murai(KAYAC)
    */
    [SWF(width="400", height="400", frameRate="24", backgroundColor="#FFFFFF")]
    
	public class Main extends Sprite {
		public var txt:TextField;
	 
		public function Main() {
			init();		 
		}
		 
		public function init():void{
			txt = new TextField();
			txt.width = 400;
			txt.height = 400;
			addChild(txt);
		        
                        txt.appendText("ExclamationMark Tips"+"\n");
                        txt.appendText("http://level0.kayac.com/2009/06/post_26.php"+"\n"+"\n");
                        txt.appendText("!null = "+String(Boolean(!null))+"\n");
                        txt.appendText("!!null = "+String(Boolean(!!null))+"\n");
                        txt.appendText("!undefined = "+String(Boolean(!undefined))+"\n");
                        txt.appendText("!!undefined = "+String(Boolean(!!undefined))+"\n");
                        
		}
	}
}

Forked