Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s):
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Use the following code:
<?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"
currentState="normal">
<s:states>
<s:State name="normal" />
<s:State name="over" />
</s:states>
<s:transitions>
<s:Transition fromState="" toState="">
<s:Fade duration="1000" target="
</s:Transition>
</s:transitions>
<s:Border id="box" width="200" height="200"
verticalCenter="0" horizontalCenter="0"
mouseOver="currentState='over'" mouseOut="currentState='normal'"
alpha.normal="0" alpha.over="1"
backgroundColor="blue">
<s:Group width="100" height="100"
verticalCenter="0" horizontalCenter="0">
<s:Path data="L 0 0 50 10 100 0 90 50 100 100 50 90 0 100 10 50">
<s:fill>
<s:SolidColor color="white" />
</s:fill>
</s:Path>
</s:Group>
</s:Border>
</s:Application>
2. Run app
3. Scroll around the middle of the screen (there is a hidden box waiting)
Actual Results: When you mouse over the FXG path the transition fade is played
Expected Results: The transition fade should only play when mousing over and out of the box
Workaround (if any): don't use transitions (I think transitions are just giving you time to see the flaw...)
Additional note: you will have similar problems with other transition effects. try <s:Move duration="1000" target="{box}
" />, x.normal="200" x.over="300" (and don't forget to remove the horizontalCenter constraint on "box")