Whoa that’s a long title. This is the source file zip for the “Featured Work” slideshow on my homepage. All the images (thumbs and fullsize) are pre-loaded with bulkloader, so there’s no delay as they transition between images. They are set to automatically play through, but will stop upon thumbnail click. All the data comes from a multi-dimensional array inside the fla, but could easily be externalized in xml. Enjoy!
Checked out this zip, FANTASTIC! Exactly what I’ve been looking for! One question tho, my project uses the same data for both the full image and thumbnail, how can i simplify (perhaps merge) the code here:
frame1 //onAllItemsLoaded()
var img:Bitmap = loader.getBitmap(“image”+i);
and
frame2 //drawSubThumbs()
var thumb_bitmap:Bitmap = loader.getBitmap(“thumb”+i);
var sub_mc:thumbnail_bulk = new thumbnail_bulk(“none”, i, thumb_bitmap, 30, 30, 0xFFFFFF, 0×201919, 0×990066, 2, 0×201919, false, true, false);
…so that flash fetches the bitmap data once, and the thumbnail class does its majic. I tried changing the third arguement in the thumbnail_bulk statement to “img” (no quotes) and that got rid of the full images. Do I need to merge the two functions or is there an easier way to do this? YOU ARE THE MAN!
Yes, I’d definitely like to synch up the thumb and main image, once I find some time! Let me know if you come up with a solution!
I haven’t tried merging the 2 functions yet but I have a quick question, how can I re-enable maintianing the thumbnail’s aspect ratio?
un-commenting “thumb_loader.maintainAspectRatio = true;” in thumbnail_bulk.as does not work. Thanks again!