Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): Mac
Affected OS(s): Mac OS 10.5
Browser: Safari
Language Found: English
Description
Steps to reproduce:
1. Create a project with -locale= (blank so as to allow fro runtime localization as described in http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f3c.html
2. Add a DropDownList to the Application with at least one item entry containing textual content that is rendered larger than the width of the DropDownList (to perform truncation).
3. Select the long item from the DropDownList.
Actual Results:
RTE thrown:
ReferenceError: Error #1069: Property -1 not found on _AS3_.vec.Vector.<flash.display::DisplayObject> and there is no default value.
at spark.components::Label/truncateText()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\Label.as:1246]
at spark.components::Label/http://www.adobe.com/2006/flex/mx/internal::composeTextLines()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\Label.as:485]
at spark.components.supportClasses::TextBase/measure()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\supportClasses\TextBase.as:533]
at mx.core::UIComponent/measureSizes()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8216]
at mx.core::UIComponent/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8140]
at mx.managers::LayoutManager/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:617]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:733]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072]
Expected Results:
Truncation of selected item without RTE.
Workaround (if any):
Use <s:ComboBox> or <mx:ComboBox>