What’s the best way of doing a photo gallery in flash?
I’ve looked through the photo gallery tutorial on kirupa, but I need to be able to make thumbnails of them first and then click to see bigger images…
I dont know what’s the best way of doing this…
the more images I have in my gallery file, the bigger the file is!
Use loadMovie() function instead of loadMovieNum() function…
Also, you will need a routine that will check if your JPEG file is fully loaded or not so that you can change the property of its container movieclip…
:hair:
I did try using loadmovie instead of loadmovienum…but when I did that, I didnt get anything loaded… ARGH!!! FRUSTRATED!!! I HATE FLASH!! :*( help help help please!
ok thanks everyone for helping me with this…
this’ll be the last question for this stupid gallery…I swear!
I finally got the images to load properly using the ‘loading techniques’ tutorial…but now how do I unload it? When you want to go to other sections of the website, after viewing the photogallery, that last picture you just viewed stays on the website…how do I get rid of it?
Do I use something like this?
on (Press) {
unloadMovie(“jpg name”);
On all my navigation buttons? But if I do that, how do I unload whatever jpg is currently on the screen? Know what I mean?
_root.onMouseDown = function () {
startDrag (“container”,false) ;
}
_root.onMouseUp = function () {
stopDrag () ;
}
}
Which I got from the loading tutorial…
I can use:
unloadMovie(“yourFile.jpg”);
On all of my navigation buttons, but there’s no way I can know which jpg file they are on in order to unload that specific one… Does that make sense? How do I unload no matter which jpg file they are on? :hangover: