Well i tried that, and it looks like it is fired
several times during the population of the List.
So i have no way of knowing when it is fired for
the last time, that is when the last item has been rendered !
Or maybe i did not put the listener at the
correct place.
I'll keep trying.
Best,
JL
----- Original Message -----
Sent: Monday, June 19, 2006 3:25 PM
Subject: Re: [flexcoders] [To Michael
Schmalle] Rendered from dataProvider ?
Oh yeah,
Add the listener right before you change the dataProvider,
remove it when the actual handler fires for the UPDATE_COMPLETE
event.
Peace, Mike
On 6/19/06, Michael
Schmalle <[EMAIL PROTECTED]>
wrote:
Hi, Well, I am
to to up to speed on the deep workings of the ListBase and List *yet* but,
changing the dataProvider is connected to updateDisplayLit(). That
being said, I would say try; mx.events.FlexEvent.UPDATE_COMPLETE "Dispatched
when an object has had its commitProperties, measure, and updateDisplayList
called (if needed).. " Now looking at the UIComponent, I am pretty
sure that is it. BTW, thanks for this question becasue that is a very
important event! Ok, double on that, LayoutManger says
FlexEvent.UPDATE_COMPLETE ;-)
Peace, Mike
On 6/19/06, Jean-Luc
ESSER <[EMAIL PROTECTED] > wrote:
Hi Mike,
Yes i mean an event that signifies everything
has been drawn.
I mean if i have an image to show in the
itemRenderers, i want to know when the data has been received, image has
been loaded, itemRenderer has been renderered, and the List has finished
sizing and showing all items.
Best,
JL
-----
Original Message -----
Sent:
Monday, June 19, 2006 1:04 PM
Subject:
Re: [flexcoders] [To Michael Schmalle] Rendered from dataProvider ?
Hi,
Yeah I remeber that post tit was in relation to
setting the height based on rows.
I remember Manish said the
rowHeight property and I said calculateHeight().
You rquestion is
alittle nebulus, do you mean an event that signifies everything has been
drawn?
Or measurements?
Peace, Mike
On 6/19/06, Jean-Luc ESSER <[EMAIL PROTECTED]>
wrote:
Michael, i saw one of your posts where you
said :
" Once
you have established that the list has been rendered from the
dataProvider "
I assume you mean when the List has
finished working with its dataProvider (including finished drawing its
itemRenderers with their data).
If so, how would you do that ?
Best,
Jean-Luc.
-- What goes up, does come down.
-- What goes up, does come down.
-- What goes up,
does come down.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___
|