Kodi Community Forum
Animations outside <itemlayout> and <foucuslayout> - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+--- Thread: Animations outside <itemlayout> and <foucuslayout> (/showthread.php?tid=60899)



Animations outside <itemlayout> and <foucuslayout> - mcborzu - 2009-11-05

PHP Code:
<control type="textbox">
            <
visible>Control.IsVisible(52) + Container.Content(tvshows)</visible>
            <
animation effect="fade" time="200" delay="200">Focus</animation>
            <
posx>30</posx>
            <
posy>330</posy>
            <
width>360</width>
            <
height>195</height>
            <
align>left</align>
            <
info>ListItem.Plot</info>
            <
font>Font_TVShow</font>
            <
textcolor>ffffffff</textcolor>
            
        </
control

I'm getting the skinning game down but animations are my Achilles heel...I can't get even that simple fade, or any other animations, to show up when the control is outside <itemlayout> and <foucuslayout>.

Thx for any replies...


- jmarshall - 2009-11-05

A textbox is not focusable.


- mcborzu - 2009-11-05

Thx for the reply...

I meant to put this in: Just in general, be it an image, textbox or label I can't get animations to work outside <itemlayout> and <foucuslayout>.


- jmarshall - 2009-11-05

None of those are focusable, so an animation using Focus as it's trigger isn't going to do anything Smile

Try using VisibleChange or a conditional trigger instead.