flash on 2012-1-4

by leocavalcante
♥0 | Line 20 | Modified 2012-01-04 06:26:46 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            
            var output : TextField = new TextField();
            output.text = "hello";
            addChild(output);
            
            var conr : Conrado = new Conrado();
            //conr = Conrado("something");            
            output.text = "world";            
        }
    }
}

class Conrado {
    public function Conrado() {
        
    }
    
    public function toString() : String {
        return "test";
    }


}