2016-10-30, 23:52
I'm trying to create a drop down slide effect. I thought I had this animation control figured out, but something is stumping me... Any help would be appreciated.
The specifics, I would like the Blue button (arrow location) when focused to trigger a slide effect where the grey box emerges from under the button.
Below is my current nonfunctional code.
Thanks
The specifics, I would like the Blue button (arrow location) when focused to trigger a slide effect where the grey box emerges from under the button.
Below is my current nonfunctional code.
Thanks
Code:
<control type="group">
<description>Dropdown menu</description>
<posx>0</posx>
<posy>0</posy>
<control type="button" id="6000">
<description>Menu Button</description>
<posx>0</posx>
<posy>259</posy>
<width>412</width>
<height>40</height>
<texturenofocus>NA.png</texturenofocus>
<texturefocus>buttonFocus.png</texturefocus>
<animation effect="fade" start="95" end="95" condition="True">Conditional</animation>
</control>
<control type="image">
<description>Menu Dropdown</description>
<posx>0</posx>
<posy>299</posy>
<width>508</width>
<height>750</height>
<aspectratio>keep</aspectratio>
<texture>pstvldropdown.png</texture>
<animation effect="slide" start="0,750" end="0,299" time="100" easing="out">!Control.HasFocus(6000)</animation>
</control>
</control>