0

私は Flash Builder を初めて使用し、動作する RSS フィード リーダーを作成しましたが、RichText オブジェクトの末尾にあるテキストを切り詰める maxDisplayedLines を取得できません。Error #2007 Paramater child must be non-null が表示されますが、何が null になるかわかりません。表示しているテキストはテキストフローからのものです

textFlow="{TextConverter.importToFlow(rdesc, TextConverter.TEXT_FIELD_HTML_FORMAT)}"

最大行を設定しようとするまで、サムネイルも含めてすべて正常に表示されます。ちなみに携帯用です。

エラーは TypeError: Error #2007: Parameter child must be non-null です。flash.display::DisplayObjectContainer/addChild() で flashx.textLayout.factory::TextFlowTextLineFactory/callbackWithTextLines()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\ でfactory\TextFlowTextLineFactory.as:267] flashx.textLayout.factory::TextFlowTextLineFactory/createTextLinesInternal()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\factory\TextFlowTextLineFactory で.as:245] flashx.textLayout.factory::TextFlowTextLineFactory/createTextLines()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\factory\TextFlowTextLineFactory.as: 104] spark.components::RichText/createTextLines()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\RichText.as:

4

1 に答える 1

0
 html text show in mobile textarea.

 <s:TextArea id="ric" width="200" height="100"/>

 var textrichtml:String = "<p><b>Scott Carpenter Architect Pty Ltd is a design based</p>";
 TextField(ric.textDisplay).htmlText = textrichtml;
于 2012-03-14T06:19:56.710 に答える