If you've copied the way we use the IListItemRenderer and
IDropInListItemRenderer interfaces in the list classes, then I suppose
you could say you are using item renderers in your Canvas.  Otherwise, I
would suggest that you do not use that term as it has definite meaning
as to the lifecycle and recycling and ways you write them and could
confuse others trying to learn how to use them in the list classes.
When someone says "I'm having problem X with my item renderers" I
automatically assume a particular set of circumstances.
 
You hijacked this thread to ask about flickering problems.  Now I find
out that you aren't using the term item renderer the way most of us on
this forum expect and thus my assumptions and suggestions are void.
Because you have customized the code around how you are displaying data,
I won't be able to help you much as I would if you were using the
standard pattern.
 
Good luck,
-Alex

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of DreamCode
Sent: Tuesday, November 27, 2007 7:42 PM
To: [email protected]
Subject: Re: [flexcoders] How can I avoid jumping / flickering when
changing the dataprovider in a list box?



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]
<mailto:aharui%40adobe.com> > 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:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of DreamCode
> Sent: Tuesday, November 27, 2007 3:02 PM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
>
>
> 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]
<mailto:aharui%40adobe.com> > 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:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> > Behalf Of DreamCode
> > Sent: Tuesday, November 27, 2007 6:35 AM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com>

> > 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]
<mailto:aharui%40adobe.com> > wrote:
> > >
> > >
> > >
> > >
> > > are you using custom renderers? If so, do you see flickering with
> default
> > > renderers?
> > > ________________________________
> > > From: [email protected]
<mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> > > Behalf Of Anzer
> > > Sent: Monday, November 26, 2007 10:06 PM
> > > To: [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> > > 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 <http://www.flickrmailer.com> 
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
> 


 

Reply via email to