/** * Copyright maxcaffy ( http://wonderfl.net/user/maxcaffy ) * MIT License ( http://www.opensource.org/licenses/mit-license.php ) * Downloaded from: http://wonderfl.net/c/q7Mt */ package { import flash.text.TextField; import flash.display.Sprite; public class Hoge extends Sprite { public function Hoge() { // write as3 code here.. var a:TextField = new TextField(); stage.addChild(a); a.htmlText = "<b>凶</b>"; } } }