Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK 2.0.1 (Release)
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Reproduction:
1. Run below MXML code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Script>
<![CDATA[
[Bindable]
public var dp1 = ['item1','item2','item3','item4','item5'];
]]
>
</mx:Script>
<mx:Button label="Set currentState" click="currentState='rep'"/>
<mx:states>
<mx:State name="rep">
<mx:AddChild>
<mx:VBox>
<mx:Repeater id="r1" dataProvider="
">
<mx:Button label="
"/>
</mx:Repeater>
</mx:VBox>
</mx:AddChild>
</mx:State>
</mx:states>
</mx:Application>
2. Click button to set currentState
3.
Actual Results: Buttons inside the Repeater are not created.
Expected Results: Repeater should execute.
Workaround: