forked from: flash on 2013-1-31
♥0 |
Line 14 |
Modified 2013-02-01 13:07:57 |
MIT License
archived:2017-03-20 17:04:59
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);
}
}
}