Absolutely Amy,

Or if you know that the number items will always be performance
acceptable, put your list in a container and set the height of the list
to measuredHeightOfItems; to ensure smooth scrolling by instantiating
all of the items like a repeater.  No right or wrong; just depends.

-TH

--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
> >
> >
> > Tom and Tracy both have good suggestions. However, I'd recommend
> using
> > any of the List based controls, with an itemRenderer, instead of
> using a
> > repeater. Unlike the Repeater component, which instantiates all
> objects
> > that are repeated (no recycling), the List based controls
instantiate
> > only objects visible in the list.
>
> However, if you know that the most likely use case is that the
repeater
> will not be showing enough items to cause scrolling, you may want to
> consider this:
>
> http://flexdiary.blogspot.com/2008/04/is-horizontallist-faster-than-
> hbox-with.html
>



Reply via email to