Posts: 3,956
Joined: Dec 2008
Reputation:
62
Container(xxx).Position(y)
Posts: 125
Joined: Jun 2008
Reputation:
3
2014-12-08, 15:12
(This post was last modified: 2014-12-08, 15:15 by dgm1960.)
Thanks very much, Pecinko. Bear with me, as I do not have very much skinning experience, but this would attach to the group I want to move (the album info)? If so, how would I determine the "y" coordinates? Using the fixed list ID, and various "y" values produced no animation. I want the album info group to move up the page each time the song list scrolls down, and vise versa.. Each list item is 65 px high, so I need the album info to scroll up/down by multiples of that amount for each scroll of the fixed list. I hope this makes sense, and thanks again for your quick response.
Posts: 3,956
Joined: Dec 2008
Reputation:
62
2014-12-08, 15:43
(This post was last modified: 2014-12-08, 18:53 by pecinko.)
Xxx is an ID of a list of your songs/album, while y is a currently focused position in that list. Position 2 would mean 3rd item in album/song list has a focus. You would then move a group with album info based on a current position in a list. Take a look at Quartz and how blue list rectangle is moved based on a container position.
Posts: 125
Joined: Jun 2008
Reputation:
3
Thanks very much! Will try when I get home.
Posts: 125
Joined: Jun 2008
Reputation:
3
Unfortunately, animation occurs only if I use a number greater than 2 for movement. However, that locks the list from scrolling for that number of list items. I see that in the Quartz song list where you have a movement number set to 5. If I just use the code you have me without an animation number, the album info moves immediately to the y value of the ninth list item and remains there (focus is set to 9).
Thanks again, and if I can get this working, I will post it.
Posts: 17,503
Joined: Aug 2007
Reputation:
595
Hitcher
Team-Kodi Member
Posts: 17,503
The problem is because when using a fixed list Container(id).Position is always the focus position in the list.
Can you post a link to the video in question so I can see exactly what effect you're after?
Posts: 3,956
Joined: Dec 2008
Reputation:
62
2014-12-09, 14:49
(This post was last modified: 2014-12-09, 15:21 by pecinko.)
This should be true for container(ID).HasFocus but NOT for Container(ID).position
Posts: 125
Joined: Jun 2008
Reputation:
3
2014-12-09, 20:07
(This post was last modified: 2014-12-09, 20:08 by dgm1960.)
Thanks again for your help on this, both of you. I will do as you suggest, Hitcher.