At startup, the image is created so creationComplete fired and updateComplete also fires since that means the image has finished updating, but the image has no bits yet, they are still streaming in, kiadin external data is asynch, later, a "complete" event will be dispatched which means the bits are stremed in, and the image will adjust, causing another updateComplete. There is no reason to use creationComplete in this scenario
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of mitek17 Sent: Friday, October 19, 2007 8:42 AM To: [email protected] Subject: [flexcoders] Re: Problem printing component with Hi Alex, Could you please explain the following: First 2 events are coming from the Image (creationComplete, updateComplete) 3rd event is coming from the top component - creation complete. Why does Image then sends update complete? If I don't wait for the 4th event - image is not visible. If I wait - everything is OK. 1)[Event type="creationComplete" bubbles=false cancelable=false eventPhase=2] CAppointmentCheckOutPopUp2727.CTaxInvoiceFormPrintView3000.vb_InnerVBo x.c_Header.img_logo 2)[Event type="updateComplete" bubbles=false cancelable=false eventPhase=2] CAppointmentCheckOutPopUp2727.CTaxInvoiceFormPrintView3000.vb_InnerVBo x.c_Header.img_logo 3)[Event type="creationComplete" bubbles=false cancelable=false eventPhase=2] CAppointmentCheckOutPopUp2727.CTaxInvoiceFormPrintView3000 4)[Event type="updateComplete" bubbles=false cancelable=false eventPhase=2] CAppointmentCheckOutPopUp2727.CTaxInvoiceFormPrintView3000.vb_InnerVBo x.c_Header.img_logo Thanks, Dmitri. --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > image > > > > ________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of mitek17 > Sent: Wednesday, October 17, 2007 12:27 AM > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Re: Problem printing component with > > > > Thanks, Alex! > > BTW, upodateEvent from Image or from the parent container? > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders% 40yahoogroups.com> > , "Alex Harui" <aharui@> wrote: > > > > It should be the updateComplete right after the "complete" event. Note > > that you have to wait for this before starting to print. > > >

