Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Compile and run attached MXML file.
2. Toggle emphasized check box.
3. Click FxButton.
4. Click FxToggleButton.
Actual Results:
ArgumentError: Undefined state 'overAndSelected'.
at mx.core::UIComponent/getState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:8914]
at mx.core::UIComponent/findCommonBaseState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:8934]
at mx.core::UIComponent/commitCurrentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:8765]
at mx.core::UIComponent/setCurrentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:8718]
at mx.core::UIComponent/set currentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:5372]
at mx.components.baseClasses::FxComponent/commitProperties()[E:\dev\trunk\frameworks\projects\flex4\src\mx\components\baseClasses\FxComponent.as:253]
at mx.components::FxButton/commitProperties()[E:\dev\trunk\frameworks\projects\flex4\src\mx\components\FxButton.as:595]
at mx.core::UIComponent/validateProperties()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7003]
at mx.managers::LayoutManager/validateProperties()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:579]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:739]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:10296]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:10236]
Expected Results:
No RTE.
Workaround (if any):
Don't set the emphasized property, thats for sure!
(actually, emphasized should probably be surpressed for FxToggleButton)