animation fade affected by window open?
#1
Came across an interesting quirk.   When setting up a fade animation on window open, it seems that the end point of the prior fade becomes the maximum value of the animation fade for any other conditions.  For example -

xml:
<control type="button" id="3999">
    <left>100</left>
    <top>100</top>
    <width>200</width>
    <height>200</height>
    
    <animation effect="fade" start="0" end="50" time="500">WindowOpen</animation>
    <animation effect="fade" start="50" end="100" time="500">Focus</animation>
    <animation effect="fade" start="100" end="50" time="500">UnFocus</animation>
    
    <texturefocus>defaultalbumcover.png</texturefocus>
    <texturenofocus>defaultalbumcover.png</texturenofocus>
</control>

This brings the button up to a fade level of 50.   But when the button is focused, it looks like the fade level drops to 25 (half of the prior end point) and then increased to 50 again. From there, as the button is focus/unfocused the fade level seems to simply fluctuate between 25 and 50.  I had assumed the animation points were generally absolute, but this looks like they are can be dependent on prior animations.
Reply

Logout Mark Read Team Forum Stats Members Help
animation fade affected by window open?0