Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create an AIR project with SDK 4.0.0_6260
2. Run the attached application
3.
Actual Results: Gives an RTE
TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::FlexNativeMenu@afe9061 to flash.display.DisplayObject.
at mx.managers.layoutClasses::PriorityQueue/removeLargestChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:195]
at mx.managers::LayoutManager/validateClient()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:982]
at mx.core::UIComponent/validateNow()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6881]
at mx.core::UIComponent/creationCompleteHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:10438]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:11262]
at mx.core::UIComponent/set initialized()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:1513]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:757]
Expected Results:
No RTE.
Workaround (if any): None