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. Compile & run:
<?xml version="1.0" encoding="utf-8"?>
<FxApplication xmlns="http://ns.adobe.com/mxml/2009" xmlns:comps="*" creationComplete="init()">
<layout>
<VerticalLayout/>
</layout>
<Declarations>
<FxRadioButtonGroup id="group1"/>
</Declarations>
<states>
<State name="basicState" />
<State name="executiveState" />
</states>
<Script>
<![CDATA[
private function changeHandle(e:Event):void
private function init():void
{ group1.addEventListener(Event.CHANGE, changeHandle); } ]]
>
</Script>
<FxButton label="1. go to sg basic state" click="currentState='basicState'" />
<FxButton label="2. go to sg executiveState" click="currentState='executiveState'" />
<FxRadioButton id="rb1" group="
{group1}" label="5:00pm" includeIn="basicState,executiveState" /><FxRadioButton id="rb2" group="{group1}
" label="6:00pm" includeIn="basicState,executiveState" />
<FxRadioButton id="rb3" group="
<FxRadioButton id="rb4" group="{group1}
" label="8:00pm" includeIn="basicState,executiveState" />
<FxRadioButton id="rb5" group="
" label="9:00pm" includeIn="basicState,executiveState" />
<Label id="lbl" />
</FxApplication>
2.Click "go to sg executiveState" button. Notice 7:00pm (Executives only) RadioButton appears
3. Select the 7:00pm (Executives only) button. Notice the label updates appropriately
4. Click the "go to sg basic state" button.
Actual Results:
Label still reads 7:00pm (Executives only). No change event fired.
Expected Results:
change event should fire.
Workaround (if any):