Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Run the following program:
<?xml version="1.0" encoding="utf-8"?>
<FxApplication xmlns="http://ns.adobe.com/mxml/2009">
<layout>
<VerticalLayout/>
</layout>
<Group>
<FxRadioButton label="One" />
</Group>
<FxRadioButton label="Two" />
</FxApplication>
Actual Results:
ArgumentError: This radio button must have the same parent as the other radio buttons already in the radio button group."
at mx.components::FxRadioButton/addToGroup()[E:\dev\trunk\frameworks\projects\flex4\src\mx\components\FxRadioButton.as:417]
at mx.components::FxRadioButton/commitProperties()[E:\dev\trunk\frameworks\projects\flex4\src\mx\components\FxRadioButton.as:359]
at mx.core::UIComponent/validateProperties()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6158]
at mx.managers::LayoutManager/validateProperties()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:539]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:659]
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:9133]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9073]
Expected Results:
No RTE, two FxRadioButtons display
Workaround (if any):