Have you seen this example slideshow by Adobe? http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html
--- In [email protected], "Todd" <tpreka...@...> wrote: > > Hello All, > I've built a slideshow feature in our application. One of the requirements > was that the images transition to the next with a nice wipe/slide effect. > > I built up two solutions, both with drawbacks: > 1) Used a view stack, added a repeater that added a VBox and Image for each > photo to display. I was able to get the appropriate slide/scrolling effect > to work by attaching show and hide effects on a VBox that contained the > image. This worked really well when there was 10 imgeas. However, when I > loaded 200 images...ouch memory management nightmare up to 1 gig of memory > being used before crashing. > > Next solution, I tried something simpler: > 2) Used a HorizontalList component and built some code to scroll through all > the images. This worked much better from a memory management perspective, > however, I've LOST the ability to have the transitions of sliding from one > image to the next. > > My questions: 1) Has anyone seen any code that uses the List (HorizontalList) > components for sliding/moving images into the main view area? How do you get > the effects to work with moving the itemRenderers around (this doesn't seem > possible?) > > 2) Anyone tried writing a component where there's a main view area, and an > area to the left and right where you buffer images off screen for the sake of > wiping/sliding them in? Then when you move to the next image, the main image > slides left, the left (off-screen image container) is then moved to the > right, and he the right image slides into the middle. This is a sort of > recycling of components. Seems like a lot of work and would be prone to bugs. > > I'm open for any other ideas on making a slideshow with these > sliding/scrolling transitions. > > Thanks for any suggestions. >

