forked from: flash on 2013-1-31

by hacker_zxh9vkwz
♥0 | Line 14 | Modified 2013-02-01 13:07:57 | MIT License
play

ActionScript3 source code

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

// forked from Andrzej.Malczewski's flash on 2013-1-31
package {
    import flash.xml.XMLNode;
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var str:String = '<b dupa';
            str = new XMLNode( 3, str ).toString();
            var txt:TextField = new TextField();
            txt.htmlText = str;
            addChild(txt);
            
        }
    }
}