JavierRosas / axiis

Automatically exported from code.google.com/p/axiis
0 stars 0 forks source link

States break when a watched property changes outside of a layout's render cycle #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This issue can be reproduced by adding this code to ColumnStack

    <groupings:fills>
        <degrafa:SolidFill id="rollOverFill" color="0xDDDD00" alpha=".6"/>
    </groupings:fills>

    <groupings:strokes>
        <degrafa:SolidStroke id="rollOverStroke" weight="1" color="white"/>
    </groupings:strokes>

    <groupings:states>
        <states:State id="rollOverState"
            enterStateEvent="mouseOver"
            exitStateEvent="mouseOut"
            targets="['myCol','myCol']"
            properties="['fill,'stroke']"
            values="[rollOverFill,rollOverStroke]"/>
    </groupings:states>

and running the HClusterStack example, rolling the mouse over the column
stack. The problem arises because a property the layout is watching changes
when the layout is not in a render cycle.  This functionality worked
properly in a build shortly before the alpha 1.0 release.

Original issue reported on code.google.com by mvand...@gmail.com on 4 Jun 2009 at 2:00

GoogleCodeExporter commented 9 years ago
This issue was fixed several revisions ago by clearing the "current" properties 
at
the beginning of each render cycle.

Original comment by mvand...@gmail.com on 8 Jul 2009 at 2:52