このようにAS3で作成されたテキストフィールドがあります:(theDescは関数を介して渡されるパラメーターです)
var productDescTxt:TextField = new TextField();
productDescTxt.htmlText = theDesc;
productDescTxt.multiline = true;
productDescTxt.wordWrap = true;
productDescTxt.embedFonts = true;
productDescTxt.setTextFormat(productInfoTF);
productDescTxt.x = 10;
productDescTxt.y = productNameTxt.y+productNameTxt.textHeight+15;
productDescTxt.width = 325;
holder.productsTab.addChild(productDescTxt);
theDesc
文字エンコーディングを使用した html コンテンツです。
元:
<p><strong>6.1 oz cotton at an affordable price</strong></p>
問題は、textField がすべての文字を表示していることです。<p><strong>
等
私の側で追加のエンコードが必要ですか?