You'll have to "virtualize".  The List classes do that, and only display
components in the virtual viewport.  One of the reasons you have to do
this is that the maximum pixel space is +/- 8192 pixels.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Charlie Hubbard
Sent: Friday, May 30, 2008 1:28 PM
To: [email protected]
Subject: [flexcoders] Infinite Scrolling component?

 

Hi,

I have a component that I'm working on right now, and I'm using the
scrollRect to provide me a sliding window over a component. The only
problem with this is that while I can make it scroll back and forth
using this. I have to provide a fix width in order for it to work.
What I'd really like to create is something that would allow me to
scroll infinitely in either direction. How could I got about doing
that? I know I might have to give up scrollRect in order to do this.
Or maybe I could simply increase the size of the component as I got
closer to the edges.

Charlie

 

Reply via email to