Animation trigger on list moving (next / previous)
#1
Hi,

Yesterday I tried without success to animate an image when I moved up/down in a list (episode view)
The image is not in the layoutitem / focuslayoutitem

I used Conditionnal Type and tried with Container().OnNext and Container().OnPrevious
and other thing ...

I'm on Krypton (last alpha)

Is this possible ?
if yes, can someone give me a tip ?

cheer
Reply
#2
Use a 'Visible' condition animation and add this visible condition -

Code:
<visible>!Container.OnNext + !Container.OnPrevious</visible>
Reply
#3
hi Hitcher

Thx for the reply.

I have already done this
and I thought it didn't work.

The thing is, I had 2 animations on this image
one with Visible Type
the other with Hidden Type

indeed your example works when i use only one animation (type visible/visiblechange)

but now I guess this is impossible to have this 2 animation

maybe is there an other way

what I exactly want to perform is :
* on a video view (like movie / episode / season / tvshow)
* when the container list is OnNext / OnPrevious
* perform an effect on an image ( ListItem.Thumb) outside the list container
=> the old focus item thumb get out the windows with a slide effect (to left side) for example
=> the new focus item thumb get in the windows with a slide effect (from right side) for example

I see there is Container(id).ListItem(offset).Thumb (never try it before)
maybe I have to use 2 image (or 3 - 1 fore the current thumb, 1 for the previous, and 1 for the next) ?
Reply
#4
Container(id).ListItem(-1).Thumb is previous thumb, 0 is focused item.
Reply
#5
Thx badass,

but unfortunately, I can't achieve what I want to do.

I'm gonna keep it simple Smile
Reply
#6
You can create a fake hidden button and use onfocus and setproperty.



Featherence | YouTube
Reply
#7
hi finalmakerr,

not sure where you want to go with this

but nevermind, I gave up Smile

i dont have enought time
and i want to finish a functionnal mod before Krypton release
so I will keep it simple

thx anyway !
Reply

Logout Mark Read Team Forum Stats Members Help
Animation trigger on list moving (next / previous)0