flash on 2010-12-13

by shapevent
♥0 | Line 11 | Modified 2010-12-13 08:02:43 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import flash.text.*;
    
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            
             var txt:* = new TextField();
             txt.text = root.loaderInfo.loaderURL;
             addChild(txt);
             
            
        }
    }
}