Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1816

Help with slide animation

$
0
0
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

[Image: LsLOW1A.png]
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>

Viewing all articles
Browse latest Browse all 1816

Trending Articles