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, MikeOn 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 -----From: Michael SchmalleSent: Monday, June 19, 2006 1:04 PMSubject: 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
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] [To Michael Schmalle] Rendered from data... Michael Schmalle
- Re: [flexcoders] [To Michael Schmalle] Rendered from... Michael Schmalle
- Re: [flexcoders] [To Michael Schmalle] Rendered ... Jean-Luc ESSER
- Re: [flexcoders] [To Michael Schmalle] Rende... Michael Schmalle
- Re: [flexcoders] [To Michael Schmalle] R... Michael Schmalle
- Re: [flexcoders] [To Michael Schmal... Jean-Luc ESSER
- Re: [flexcoders] [To Michael Schmalle] R... Jean-Luc ESSER
- Re: [flexcoders] [To Michael Schmal... Michael Schmalle
- Re: [flexcoders] [To Michael Sc... Michael Schmalle
- Re: [flexcoders] [To Michae... Jean-Luc ESSER
- Re: [flexcoders] [To Michael Sc... Jean-Luc ESSER
Reply via email to