2010-05-14, 21:57
I am working on sub menus for Shade but I need them to be faded to zero when the home menu loads and only viewable when they are focused. I have a ton going on here but I cant get the coding right.
ID 9001 needs to be hidden all the time unless its focused.
Code:
<animation effect="slide" end="0,-60" time="200" tween="quadratic" easing="out" condition="ControlGroup(9001).HasFocus">Conditional</animation>
<animation effect="slide" start="0,-60" end="0,60" time="200" tween="quadratic" easing="out" condition="ControlGroup(9001).HasFocus">WindowClose</animation>
<animation effect="fade" start="0" end="100" time="200">Focus</animation>
<animation effect="fade" start="100" end="0" time="200">UnFocus</animation>
<animation effect="slide" end="0,300" condition="Skin.HasSetting(LowerHorizontalMenu)">Conditional</animation>
ID 9001 needs to be hidden all the time unless its focused.