flash on 2011-7-27

by Nek
♥0 | Line 15 | Modified 2011-07-27 21:18:52 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var o:Object = {
                a: 123,
                a: "We can use it for comments. :)"
            };
            var _tf:TextField = new TextField();
            _tf.text = o.a;
            addChild(_tf);
        }
    }
}