< REQUIRES FLASH 8 ! >
(I posted this in the actionscript forum already, so maybe someone can delete it over there)
Hi,
today I was bored so I decided to code a gallery from scratch, after a few hours of coding i got thit:
http://www.younes-design.com/test/index.html
SOURCE > www.younes-design.com/test/main.fla
It’s not very smooth or anything, nothing fancy.
For some reason I added some kind of a swap function to swap the images and reorder them the way you want them to be. However, I don’t remember why I did it in the first place. Use the little handle on the left side of each picture to swap them.
Does anyone have any cool idea that would use this swapping funtion?
maybe I could use it to change the order of the pictures in the mySQL database. ( swap the pics and hit the “save” buttons ). because some of my customer always want to control the ordering of the pics at any moment.
Any idea would help.
ps: I’m gonna use PHP with this but right now the array of pics is entered in there manually.
phpArray = new Array(“j1.JPG”,“j2.JPG”,“j3.JPG”,…,“j12.JPG”);
put your JPGs in a folder called “images” and put the thumbnails in “images/thumb”
obviously, PHP would create thumbs automatically but I’ll do that tomorrow.
note: the coding is very messy, sorry about that.