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 the following Application:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" currentState="State1">
<fx:Declarations>
<s:Move id="s1s4" target="
" duration="3000" startDelay="2000"/>
</fx:Declarations>
<s:states>
<s:State name="State1"/>
<s:State name="State2"/>
<s:State name="State3"/>
</s:states>
<s:layout>
<s:VerticalLayout />
</s:layout>
<s:controlBarContent>
<s:Button label="State 1" click="currentState='State1'" />
<s:Button label="State 2" click="currentState='State2'" />
<s:Button label="State 3" click="currentState='State3'" />
</s:controlBarContent>
<s:Panel width="500" height="600">
<mx:Button id="btn"
y="20"
x="0" x.State2="100" x.State3="200"
width="100"
label="Button"/>
</s:Panel>
<s:transitions>
<mx:Transition id="t_s1s4" fromState="State1" toState="State3" effect="
" autoReverse="true"/>
</s:transitions>
</s:Application>
2. Press the button to change to State3.
Actual Results: The startDelay of 2000 ms is not respected, instead, the effect begins immediately.
Expected Results: There should be a 2 second pause before the effect plays
Workaround (if any):