That was actually my whole point of doing a list class from the ground up..... to get full control over the recycling of item renderers, as my project could very easily end up with 10,000+ items in a list...... Mental note to self: Do not give users that much control! :)
I'm still not sure what you mean that the component is not being used as an item renderer..... ?!?! It is exactly what I'm doing ..... a canvas component with a bunch of item renderers placed on it! Please explain if you have time and energy! --Allan On Nov 27, 2007 4:37 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > > > > > If a component is not used in a list class, it is not being used as an item > renderer which makes a huge difference as a list class recycles renderers > when scrolling and a container doesn't. > > If it is image loading that is causing the blinking, double-buffering is a > valid answer. > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of DreamCode > Sent: Tuesday, November 27, 2007 3:02 PM > To: [email protected] > > > Subject: Re: [flexcoders] How can I avoid jumping / flickering when changing > the dataprovider in a list box? > > > > > > I think where the item renderer is placed should be of little > importance. but it is a custom list component without scroll bars but > with scrolling allowed and keyboard events should not make it > move/focus either, but keyboard navigation is required..... a little > messy, but those were the requirements ..... > > I realized when working on a non-item renderer component that it had > the same flickering/blinking when changing the source of the image. > What I have done to combat the problem is to have 2 images in my item > renderer plus a flag that tells which image should be upgraded next. > > In essence a similar technique as one would use to hide the raster > line on real-time graphics systems. Update one screen while showing > the other .... and vice versa! > > --Allan > > On Nov 27, 2007 9:26 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > > > > > > > > > > We would need to see a test case. Flickering has many meanings. > > itemRenderers go in lists, not on canvases so I'm not sure what your > > scenario is. > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > > Behalf Of DreamCode > > Sent: Tuesday, November 27, 2007 6:35 AM > > To: [email protected] > > Subject: Re: [flexcoders] How can I avoid jumping / flickering when > changing > > the dataprovider in a list box? > > > > > > > > > > > > I have the same issue, only in my case there are no default renderers, > > just me putting X item renderers on a canvas. Ideas? suggestions? > > > > --Allan > > > > On Nov 27, 2007 12:55 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > are you using custom renderers? If so, do you see flickering with > default > > > renderers? > > > ________________________________ > > > From: [email protected] [mailto:[EMAIL PROTECTED] On > > > Behalf Of Anzer > > > Sent: Monday, November 26, 2007 10:06 PM > > > To: [email protected] > > > Subject: [flexcoders] How can I avoid jumping / flickering when changing > > the > > > dataprovider in a list box? > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > I am programmatically changing the values in an array collection which > is > > > the data provider of a list box. > > > > > > When I change the values the list box is flickering, how can I avoid it? > > > > > > > > > > > > My intention is to show an interface like windows explorer. I want to do > > in > > > place re naming and deleting in the list. > > > > > > Its working correctly but I want to remove the jumping of the list box > > items > > > after the edit. > > > > > > > > > > > > Thanks > > > Anz > > > > > > http://www.flickrmailer.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

