You could create two states for the component: "loading" and "loaded". In the "loading" state, you show some progress component (preloader) and remove it in the "loaded" state. When you do the HTTPSService call, set the state to "loading", when you get the result, save the number of images in a variable and register the "complete" event for each of the images. In the "complete" handler, increment another variable and when it reaches the value of the first variable, then all images are loaded and you can switch to the "loaded" state which will remove the preloader.
Of course don't forget to treat errors for the HTTPService and images loading calls! Hope it helps! On Thu, Oct 9, 2008 at 7:46 PM, jch92592 <[EMAIL PROTECTED]> wrote: > I have a TileList for which I am using an itemRenderer to populate. > The itemRenderer consists of an image and label components. The items > for the TileList are the results of an HTTPService call. > > What is the best way to incorporate a preloader until the TileList is > completely populated with my items? Currently each item displays as > the image loaded. What I'd like to have is until the entire TileList > is loaded a preloader component is displayed. > > Suggestions? > > Thank you > jh > > > -- Haykel Ben Jemia Allmas Web & RIA Development http://www.allmas-tn.com

