Animation Help.
#1
hi gurus,

need some help, i am wanting to do an amimation fade when leaving Movies and TVShows, but they need to be unique. this is the code i am usin at the moment, but it only sees movies and tvshow as one (ie using window(25).

Code:
<control type="multiimage">
            <include>FullscreenDimensions</include>
            <include>BackgroundVarsGlobal</include>
            <imagepath>backdrops/default_movies</imagepath>
            <info>Skin.String(CustomMovies)</info>
            <animation effect="fade" time="200" delay="5000">Hidden</animation>
            <visible>Window.Previous(25)</visible>
        </control>
I would like to split it into 2 animations, is it posible to use something like <visible>Container.Previous(tvshows)</visible>

hope you can help
Reply
#2
Try this...

Code:
<control type="multiimage">
     <include>FullscreenDimensions</include>
     <include>BackgroundVarsGlobal</include>
     <imagepath>backdrops/default_movies</imagepath>
     <info>Skin.String(CustomMovies)</info>
     <animation effect="fade" start="100" end="0" time="200" delay="5000">[b]WindowClose[/b]</animation>
     <visible>[b]Substring(Container.FolderPath,videodb://1/,Left)[/b]</visible>
</control>

<control type="multiimage">
     <include>FullscreenDimensions</include>
     <include>BackgroundVarsGlobal</include>
     <imagepath>backdrops/default_tvshows</imagepath>
     <info>Skin.String(CustomTVShows)</info>
     <animation effect="fade" start="100" end="0" time="200" delay="5000">[b]WindowClose[/b]</animation>
     <visible>[b]Substring(Container.FolderPath,videodb://2/,Left)[/b]</visible>
</control>
Reply
#3
thanks

but that won't work, i need the animation to activate as i enter the home.xml not as i leave myvideonav.xml, so the folderpath is not in the db.

thats why i need it to check where it was last.

any other sugestions ?
Reply
#4
This is sort of hackish but you can...

in home when a category is clicked do:

<onclick>Skin.SetString(CategoryClicked,1)</onclick>

1 for movies , 2 for tv shows , every other category 0

then when you enter home you can check for:

<visible>Skin.String(CategoryClicked,1)</visible>
Reply

Logout Mark Read Team Forum Stats Members Help
Animation Help.0