--- In flexcoders@yahoogroups.com, arpan srivastava <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am creating a slide show with images, i have three solutions for this, can anyone help me out which one is better: > > 1. Load all the images in a ViewStack and show them one by one with effect. In this case all the images need to be loaded at the local machine from server. > > 2. Use Canvas instead of ViewStack and load the images and store it in an array and use removeChild and addChild at Canvas to show them. > > 3. Add only one image on the Canvas and change the source property of the image object for next image, in which case image will always get loaded from the server. > > Can anyone help me out as which approach will be best in terms of performance and is there any other way? > > Thanks > Arpan > > --------------------------------- > Get the freedom to save as many mails as you wish. Click here to know how. >
Option 3 is by far the best, note that the loaded pictures will be saved in the browser cache and so won't be reloaded from the server all the time. Damien