Hello
I’m here again seeking some help.
I’m trying to build a PhotoGallery application and I’m encountering some problems due to my lack of experience and knowlwdge in actionscript. Basically, I want to create a grid of thumbnails, each with a random rotation and some animations while rolling over and out.
So far I was able to create the grid and the effects (thanks BLUE! and the tween tutorial!), but now I would like to set up the number of rows dynamically based on an external XML file.
In order to create the grid I used two “for” statements one for the rows and one for the columns. Let’s say I want a fixed number of columns (5), I thought I could calculate the number of rows by dividing the total XMLnodes by the fixed value of columns. I have no problem at all if the nodes are a multiple of 5 but if they are 16? How can I add the one thumbnail in a new row and just on the first column?
I hope everything made sense, and again Thank you for your time!
I have also a minor problem on the rollover effect. I wanted an higher blur for the dropshadow I applied on the thumbnail. It works, but it doesn’t return to its default value of 5 when I roll out (except if I rollout the grid), any idea on how to fix that also?
Thanks!