Diamond Infobox (Poster View)

0 views
Skip to first unread message

Rob

unread,
Feb 21, 2010, 1:09:54 PM2/21/10
to VideoBrowser Devs
Hi Jas,

I was playing around with Diamond a little this morning seeing whats
new, and I liked your Infobox on Poster view. I was trying to
implement something similar a while ago but alas I gave up because of
issues with edges, yours seems to have the same problem which caused
me to abandon mine (box disappearing off the screen at least when
vertical scroll is enabled). I could never figure out how in MCML to
determine either how many rows and columns in a scroller, so in
essence determine where I was on the screen. So in your case you
could flip the InfoBox to the other side of your poster when
approaching the right edge of the screen. I also wanted to change the
point of scaling when I came to the edge so the poster would expand
away from the edge instead now I tend to lose a bit of the poster
since it expands from its center. I currently use margins to offset
this effect a little bit but still would love to fix that problem.

The only thing I could think of to get around this involved a lot of
math calculation. I would have to know the poster size (width &
height), screen resolution, and item count thus determining the rows
and columns shown on the screen. Combine this with the Index of the
selected item and I could determine where I was on the screen. I was
going to re-examine this at a later date but maybe you have some
insights into this matter. Is there a simpler way to determine where
you are?

Jas Manghera

unread,
Feb 21, 2010, 4:52:29 PM2/21/10
to videobro...@googlegroups.com
Unfortunately I don't have an easy/simple solution in my backpocket. I'm going to have to look into this in more detail later. But my first attempt would be looking at creating a scroller model helper and trying to resolve it that way. If not I may have to look into reflector and the scrolling object.
 


 

--
You received this message because you are subscribed to the Google Groups "VideoBrowser Devs" group.
To post to this group, send email to videobro...@googlegroups.com.
To unsubscribe from this group, send email to videobrowser-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/videobrowser-devs?hl=en.


Reply all
Reply to author
Forward
0 new messages