Animations conditional -2-

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
reazorFX Offline
Fan
Posts: 390
Joined: Mar 2012
Reputation: 12
Location: Germany
Post: #1
Hi

how can i start a animation when i chance from season-view to episodes-view?

thx &
cheers
find quote
phil65 Offline
Skilled Skinner
Posts: 4,458
Joined: Mar 2009
Reputation: 56
Location: Cologne, Germany
Post: #2
only container.content(xx) is possible afaik.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #3
Unfortunately there's no Container.ContentOnNext(parameter) or Container.ContentOnPrevious(parameter).

[Image: sig_zps3af3b48e.jpg]
find quote
reazorFX Offline
Fan
Posts: 390
Joined: Mar 2012
Reputation: 12
Location: Germany
Post: #4
Too bad.
find quote
`Black Offline
Skilled Skinner
Posts: 2,071
Joined: Apr 2009
Reputation: 51
Location: Germany
Post: #5
Add

PHP Code:
<control type="button">
    <
onfocus condition="Container.Content(Seasons) + IsEmpty(Window(Videos).Property(Animation))">SetProperty(Animation,1)</onfocus>
    <
onfocus condition="!Container.Content(Seasons) + !IsEmpty(Window(Videos).Property(Animation))">AlarmClock(ClearAnimation,ClearProperty(Animation),00:01,silent)</onfocus>
</
control

to the focusedlayout of your container(s). Then you can animate with the condition Container.Content(Episodes) + !IsEmpty(Window(Videos).Property(Animation)). It's not optimal and I don't know if it will work but you could try.

[Image: xp1080-21.png]
(This post was last modified: 2012-05-28 19:55 by `Black.)
find quote
reazorFX Offline
Fan
Posts: 390
Joined: Mar 2012
Reputation: 12
Location: Germany
Post: #6
interesting idea ´Black .... i will try it.
otherwise i can right a completet new view only for episodes. For example List=51 then will WindowsOpen an WindowsClose work or..?
i hope Laugh
(This post was last modified: 2012-05-29 20:47 by reazorFX.)
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #7
No, it'll only trigger the first time you enter episode level unless you leave the video library and re-enter.

eg Home > TV Shows > Episodes (yes) > TV Shows > Episodes (no)

[Image: sig_zps3af3b48e.jpg]
find quote