Web gallery

I am very new to flash at the moment. I amhaving trouble understanding why the simplest of animations takes so long to load on the web. I am wondering if anyone may be able tohelp me. I am trying to create a little photo gallery of sorts with navigation arrows- i would like the images to be located in the same place each time a new one loads. however- they are various sizes and some are oriented horizontally and some are vertical and position seems to change every time a new photo is loaded. Also- it takes forever for the flash to load on the web- I have taken a php course and learned how to create a web photo gallery and use a database to call up images. but I have forgotten how to do it. Is there a way to do it in Dreamweaver?
I used the web photogallery tutorial found on this Kirupa site as a base to start from. help?:-\

mmm big problem, and one that I haven’t even figured out yet. perhaps by using images scaled down to the same height, but added pixels to the left to adjust (so that they are all the same size) it would work…

check on kirupa for the dynamic image gallery tutorial.

maybe you can take a look at my photo gallery… and see if it answers any question (I have the code there.)

http://web.mit.edu/lavaboy/www/album/album.html

hi
do you know how to work with xml within flas mx? if yes then give it a try and you’ll be surprised with what it can do if not try to learn.
here is some tips for your web gallery:

1st- you need to have your images with a fixed size on the largest size of the image,wich means,if an image has is an horizontal and has 200x100 that’s 100 pixels high,all of your images thar are horizontal must have 100 pixels high and the same goes to the vertical ones 100x200 means that the image has 100 pixels with so all the vertical images should be 100 pixels with

2nd - you have 2 solutions for loading on the web, the 1st is to put all the images in several frames within a movieclip or on the main movie and when the next or previous button is pressed you send the movie to one frame on the front or one frame back,this solution is very fast to do and on the web it will look very fast to load pictures but if you want to add pictures you’ll have to edit the fla file and do it.The 2nd solution is to load images dinamicaly by using either LOADMOVIE() or by using a xml file or a text file there are some diferences between them,i prefer to use a XML file because i can add pictures by simply editing the file wich is more simple than editing the fla file. To use the 2nd solution you can use an empty movieclip to be loaded dinamically.

3rd - try to save your images as small as you can,with small i mean the file not the size of the image , if you save it as Jpeg do it using the medium or the low compression and always use standard method you’ll see tha t you can improve the time to load images

i hope that i could help you sorry for my english
bye

i dunno abt u guys
but wat i like to do is combine them into one big picture file
and load that just once
then set direction to glide left right up and down to view the different pictures

:slight_smile: