Flash 8 Grid Layout Experiment for thumbnail gallery

Hi.This is my first thread. I have been using a lot of the tips and solutions posted here, so I thought I’d contribute with the forum too. I was looking for a way to make different grid layouts for xml loaded jpg thumbs, so I read and applied a lot of the tutorials and posts about galleries, xml, thumbs and grids around here. Some of the script I used comes from Kirupa’s adding thumbs tutorial. I also applied the concept in Creating Grids with Flash/AS by ilyas usal.

The result is attached here. A lot of the paramenters, like row and column numbers and scaling of the thumbs,spacing, alpha, rotation, etc, can be changed easily in the script. Also, the idea is that you could write diferent prototype functions to get diferent grid layouts effects. Please comment on my file, I’m no expert in Flash nor AS, but I tried to keep everything clean and relatively simple. I would apreciate any comment that helps me write better code. Thanks for all the knowledge-sharing! I learn a lot from this site every day.

ikiM

this is great, I’ve been looking for this a long time.
any ideas how to dynamic add some sort of number track bellow the thumbs?

thanks. luis.

Just wanted to say thank you; you’re a life-saver! I have built a few galleries, and found many tutorials online that were close to what I needed, but not on the spot. Your code was easy to manipulate for my purposes and really straight-forward. Excellent job and I/(we in the forum as well) can’t thank you enough!

Good job.
-D