Well - never received a reply to this thread, but I've figured out 
how to get the look, feel, and interactivity that I wanted via lots 
of nested Canvas', HBox's, VBox's, etc...Here's what I've basically 
done.  Again, the goal was to make a vertical TileList with component 
itemRenderer, that scrolls smoothly, and rather than using the 
default scrollbar, create my own scrollDown and scrollUp buttons 
(with no scrollbar actually available - just the buttons).

 - I have a TileList of course, and its height is dynamically set to 
the number of items in the itemRenderer * 125 (an item's height).  
scrollingPolicy is disabled.  With 75 items that makes its height.

 - itemRenderer consists of an image and label.  The images can be 
large - width of 640 - and are scaled down via maxWidth/Height.

 - The TileList is within a VBox with scrollingPolicy disabled.

 - An Up/Down button calls a function that sets the 
verticalScrollPosition of the VBox to += 20 or -= 20 via buttonDown 
with autorepeat.  This creates the effect of a nice smooth scroll!


PROBLEM I need help with now:
Performance has become an issue.  When the TileList contains 75 
thumbnails, that makes its height nearly 10,000 (75*125)!  The 
problem is that, to Flex, the entire list is being displayed, whereas 
when you normally display a smaller sized TileList, items are not 
loaded until they are physically displayed by the user.  When it 
first loads, it really chokes up cause its calling to load every 
single thumbnail in the list all at the same time.

Is there any way to fix this!?

 - Chris





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to