flash on 2009-12-17

by pasodania
♥0 | Line 15 | Modified 2009-12-17 15:26:32 | MIT License
play

ActionScript3 source code

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

package {
	import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var ary:Array = [];
            var aryB:Array = ["C", "D"];
            ary.push("A", "B");
            ary = ary.concat(aryB);
            var txt:TextField = new TextField();
            txt.text = ary.join("-");
            
            addChild(txt);
        }
    }
}