flash on 2009-12-4

by hacker_9p8x8mco
♥0 | Line 19 | Modified 2009-12-04 02:05:54 | MIT License
play

ActionScript3 source code

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

package{
    import flash.display.Sprite;
    import flash.text.TextField;
    public class FlashTest extends Sprite{
        public function FlashTest(){
            var i:int=1;
            var u:uint=2;
            var bl:Boolean=true;
            var st:String="str";
            var tf:TextField=new TextField();   
            tf.text = "tf";
            tf.appendText(st);
            tf.appendText(String(i));
            tf.appendText(String(u));
            tf.appendText(String(bl));
            addChild(tf);
        }
    }   
}