One simple way to do it is to create a component with two states: 'progress' and 'image' for example. The default state would be 'progress', where a progress bar (or text, or animation) is visible and the image is hidden. Update the progress bar while the image is loading and in the 'complete' event handler change the state to 'image', in which the progress bar is hidden and the image is visible.
Haykel Ben Jemia Allmas Web & RIA Development http://www.allmas-tn.com On Wed, Jan 21, 2009 at 11:41 AM, stinasius <[email protected]> wrote: > how can i show a preloader while an image? > > >

