Animation trigger on list moving (next / previous) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: Animation trigger on list moving (next / previous) (/showthread.php?tid=292139) |
Animation trigger on list moving (next / previous) - gates - 2016-09-26 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 RE: Animation trigger on list moving (next / previous) - Hitcher - 2016-09-26 Use a 'Visible' condition animation and add this visible condition - Code: <visible>!Container.OnNext + !Container.OnPrevious</visible> RE: Animation trigger on list moving (next / previous) - gates - 2016-09-27 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) ? RE: Animation trigger on list moving (next / previous) - badaas - 2016-09-28 Container(id).ListItem(-1).Thumb is previous thumb, 0 is focused item. RE: Animation trigger on list moving (next / previous) - gates - 2016-10-03 Thx badass, but unfortunately, I can't achieve what I want to do. I'm gonna keep it simple Animation trigger on list moving (next / previous) - finalmakerr - 2016-10-03 You can create a fake hidden button and use onfocus and setproperty. Featherence | YouTube RE: Animation trigger on list moving (next / previous) - gates - 2016-10-08 hi finalmakerr, not sure where you want to go with this but nevermind, I gave up i dont have enought time and i want to finish a functionnal mod before Krypton release so I will keep it simple thx anyway ! |