2008-06-17, 20:43
To create Wall views (icon panels) where the focus object doesn't overshoot the screen edges, I've been using the following trick:
Code:
<animation effect="slide" end="359,0" time="200" condition="Container.Column(0)">Conditional</animation>
<animation effect="slide" end="180,0" time="200" condition="Container.Column(1)">Conditional</animation>
<animation effect="slide" end="0,179" time="200" condition="Container.Row(0)">Conditional</animation>
<animation effect="slide" end="-180,0" time="200" condition="Container.Column(8)">Conditional</animation>
<animation effect="slide" end="0,-179" time="200" condition="Container.Row(4)">Conditional</animation>
So as you hit the rows near the sides of the panel, it shunts it in the opposite direction, keeping the focus object within the screen perimeter. Furthermore, you only see the edges of the icon panel when it runs out of icons. Problem is, you always see an edge on the left hand side as you scroll backwards, as you can see in the screenshot.
It's a pretty complex situation and I don't expect many people to really get what I'm saying, but I'm assuming there's something about how the icons are buffered that's creating this problem. It's like they're pre-loading as you scroll right but not as you scroll left.
Can anyone shed some light on this situation or, even better, propose a solution?