2013-03-16, 23:04
I have a problem with the condition of an animation.
I want to have a slide effect on fanart, whenever i use navigation (turn up an down).
The problem is, that the navigation is always focused and the slide of the image is finished, wenn i start the video-section. so the condition seems always to be true :/
Code for the navigation ist:
image-code
anyone who knows a solution?
thanks
I want to have a slide effect on fanart, whenever i use navigation (turn up an down).
The problem is, that the navigation is always focused and the slide of the image is finished, wenn i start the video-section. so the condition seems always to be true :/
Code for the navigation ist:
Code:
<control type="list" id="550">
<posx>10</posx>
<posy>190</posy>
<width>230</width>
<height>574</height>
<onleft>9000</onleft>
<onright>60</onright>
<onup>550</onup>
<ondown>550</ondown>
<pagecontrol>60</pagecontrol>
<viewtype label="$LOCALIZE[31233]">list</viewtype>
<scrolltime tween="quadratic">200</scrolltime>
<itemlayout height="53" width="570" condition="![Skin.HasSetting(panellogo) + [Container.Content(movies) | Container.Content(tvshows)]]">
<control type="label">
<posx>20</posx>
<width>200</width>
<height>43</height>
<font>Font_new_normal</font>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="image">
<posx>386</posx>
<posy>18</posy>
<width>42</width>
<height>42</height>
<texture>$VAR[WatchedIconVar]</texture>
<colordiffuse>$VAR[ColorDiffuseVar]</colordiffuse>
</control>
</itemlayout>
<focusedlayout height="53" width="570" condition="![Skin.HasSetting(panellogo) + [Container.Content(movies) | Container.Content(tvshows)]]">
<control type="image">
<width>434</width>
<height>43</height>
<include>PanelGlowFade</include>
<texture>views/tripanel/listselect_fo.png</texture>
<animation effect="fade" start="100" end="50" time="50" condition="!Control.HasFocus(550)">Conditional</animation>
<colordiffuse>$VAR[FocusTextureColorVar]</colordiffuse>
</control>
<control type="label">
<posx>20</posx>
<width>200</width>
<height>43</height>
<font>Font_new_normal_bold</font>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="image">
<posx>386</posx>
<posy>18</posy>
<width>42</width>
<height>42</height>
<texture>$VAR[WatchedIconVar]</texture>
<colordiffuse>$VAR[ColorDiffuseVar]</colordiffuse>
</control>
</focusedlayout>
</control>
image-code
Code:
<control type="image">
<animation type="slide" end="-420,0" time="400" easing="in" tween="cubic" condition="Control.HasFocus(550)">Conditional</animation>
<posx>778</posx>
<posy>185</posy>
<width>1127</width>
<height>640</height>
<texture>$INFO[ListItem.Art(fanart)]</texture>
<aspectratio aligny="top" align="right">keep</aspectratio>
<bordertexture border="7">thumbs/thumbshadow.png</bordertexture>
<bordersize>7</bordersize>
</control>
anyone who knows a solution?
thanks