flash on 2015-7-6

by TmskSt
♥0 | Line 12 | Modified 2015-07-06 13:53:40 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var tf:TextField = new TextField();
            
            tf.htmlText = '\n<font color="#FF0000">Hello</font>';
            tf.border = true;
            
            addChild(tf);
        }
    }
}