flash on 2011-10-22

by yarhalla1
♥0 | Line 14 | Modified 2011-10-22 22:19:10 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import flash.text.TextField;
    import fl.controls.Button;
    
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
           var tf :TextField = new TextField;
           var btn:Button = new Button;
           
           tf.text = "Hello, world!";
           addChild( tf );
           addChild( btn );
        }
    }
}