Details
-
Bug
-
Status: Closed
-
Critical
-
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 this 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">
<s:controlBarContent>
<s:Button label="to state2" click="currentState = 'state2'" />
</s:controlBarContent>
<s:states>
<s:State name="state1"/>
<s:State name="state2"/>
</s:states>
<s:transitions>
<s:Transition fromState="state1" toState="state2">
<s:Fade target="
" alphaFrom="1" alphaTo="0.5" />
</s:Transition>
</s:transitions>
<s:Button id="target" label="TARGET" alpha="1" alpha.state1="1" alpha.state2="1" />
</s:Application>
2. Click state2
3.
Actual Results:
The button has alpha of 0.5
Expected Results:
The button should have alpha of 1 in the new state
Workaround (if any):