Note that there are some explanatory texts on larger screens.

plurals
  1. POFlash Builder 4 maxDisplayedLines comes back Error #2007 Parameter child must be non-null
    text
    copied!<p>I'm fairly new to flash builder and have made a working RSS feed reader, but I can't get the maxDisplayedLines to truncate the text at the end of my RichText object. It comes up with Error #2007 Paramater child must be non-null but I don't have a clue what would be null. The text I'm displaying is coming from textflow </p> <pre><code>textFlow="{TextConverter.importToFlow(rdesc, TextConverter.TEXT_FIELD_HTML_FORMAT)}" </code></pre> <p>and everything displays fine, even the thumbnails until I try to set the max lines. This is for mobile by the way.</p> <p>the error is TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/addChild() at flashx.textLayout.factory::TextFlowTextLineFactory/callbackWithTextLines()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\factory\TextFlowTextLineFactory.as:267] at flashx.textLayout.factory::TextFlowTextLineFactory/createTextLinesInternal()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\factory\TextFlowTextLineFactory.as:245] at flashx.textLayout.factory::TextFlowTextLineFactory/createTextLines()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\factory\TextFlowTextLineFactory.as:104] at spark.components::RichText/createTextLines()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\RichText.as:1296] at spark.components::RichText/http://www.adobe.com/2006/flex/mx/internal::composeTextLines()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\RichText.as:1173] at spark.components.supportClasses::TextBase/updateDisplayList()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\TextBase.as:685] at spark.components::RichText/updateDisplayList()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\RichText.as:1131] at mx.core::UIComponent/validateDisplayList()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8999] at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:736] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:819] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180]</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload