2010-08-21, 18:08
hi
i´ve add the Ken Burns Effect in the current Night release.
here is code ( the beginning of MyVideoNav.xml)
It´s maybe a litle bit bad code in there because i´ve copy it from another skin. But it works good.
greets muggi
i´ve add the Ken Burns Effect in the current Night release.
here is code ( the beginning of MyVideoNav.xml)
Code:
<!--Alaska-->
<window id="25">
<defaultcontrol always="true">50</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<views>50,55,58,595,51,52,633,53,54,597,56,57,59,592,593,594</views>
<controls>
<control type="image">
<include>Dimensions_Fullscreen</include>
<texture background="true">$INFO[Fanart.Image]</texture>
<aspectratio>stretch</aspectratio>
<fadetime>400</fadetime>
<include>Animation_CommonFade</include>
<animation effect="zoom" start="110" end="130" center="auto" time="15000" tween="cubic" easing="inout" pulse="true" condition="!Skin.HasSetting(animation_bg)">Conditional</animation>
<animation effect="slide" start="-10,-10" end="20,20" time="7000" tween="cubic" easing="inout" pulse="true" condition="!Skin.HasSetting(animation_bg)">Conditional</animation>
<animation effect="rotate" center="360,640" start="-2" end="2" time="11000" tween="cubic" easing="inout" pulse="true" condition="!Skin.HasSetting(animation_bg)">Conditional</animation>
<visible>![IsEmpty(Fanart.Image) | Control.IsVisible(59) | Control.IsVisible(54) | Control.IsVisible(57) | Control.IsVisible(56) | Control.IsVisible(592) | Control.IsVisible(597)]</visible>
</control>
<control type="image">
<include>Dimensions_Fullscreen</include>
<fadetime>400</fadetime>
<texture background="true">$INFO[ListItem.Property(Fanart_Image)]</texture>
<aspectratio>stretch</aspectratio>
<include>Animation_CommonFade</include>
<animation effect="zoom" start="110" end="130" center="auto" time="15000" tween="cubic" easing="inout" pulse="true" condition="!Skin.HasSetting(animation_bg)">Conditional</animation>
<animation effect="slide" start="-10,-10" end="20,20" time="7000" tween="cubic" easing="inout" pulse="true" condition="!Skin.HasSetting(animation_bg)">Conditional</animation>
<animation effect="rotate" center="360,640" start="-2" end="2" time="11000" tween="cubic" easing="inout" pulse="true" condition="!Skin.HasSetting(animation_bg)">Conditional</animation>
<visible>![Control.IsVisible(58) + !Skin.HasSetting(ShowcaseFanart) | Control.IsVisible(54) | Control.IsVisible(59) | Control.IsVisible(56) | Control.IsVisible(57) | Control.IsVisible(592) | Control.IsVisible(597)]</visible>
</control>
It´s maybe a litle bit bad code in there because i´ve copy it from another skin. But it works good.
greets muggi