View Full Version : Gallery Advice? going from clunky to clunkier!
GJClimer
02-25-2007, 12:20 AM
i want to create a picture gallery with the thumbnails on the left and then when you scroll over the thumbnails, they are displayed full size in a frame on the right.
I originally used the behavior "on rollover" and have it gotoandstop on the appropriate frame. Its a bit clunky to program it in but i'm not the most advanced user you'll ever meet. So it made sense in my head.
It takes a week and a day to load.
IS there a better way to do this? i feel like having all those thumbnails and full size images loading will take forever.
If i redo the page using the same gotoandstop/rollover plan, do i use the fullsize images as graphics in the library and then for the thumbnail use the same graphic but resize it, or will it use less loadtime if i have both thumbnails and fullsize in the library?
thanks!
stringy
02-25-2007, 01:07 AM
Takes a while to load.
You would be better to use onPress and loadMovie to get the pics on demand.
[PAUL FERRIE]
02-25-2007, 08:34 AM
Takes a while to load.
You would be better to use onPress and loadMovie to get the pics on demand.
Care to elaborate??
stringy
02-25-2007, 09:41 AM
if you are wanting to use rollOvers then you have to either have the pics in the file or preload them and perhaps the traditional press and load method is better.
If you really need to use rollOvers then i would suggest loading one at a time and disable the thumbnail until the main pic loads.
This uses onpress but can easily be changed to rollOver
http://www.fmx6.com/teststuff/resize/artgallery_new2new.swf
source
http://www.kirupa.com/forum/showthread.php?t=87388 #10
GJClimer
02-25-2007, 06:03 PM
stringy, i tried to use kirupa's flash/xml gallery tutorial. I got so lost and confused! His tutorials are always brilliant. but i know nothing about XML. i have been reading up on it for almost 12 hours straight now. I still cannot get his tutorial to work.
When i change the location of the pic from his sample to my own pic, it never works.
Am i listing the location of the picture after i have posted it on some private webpage? that appears to be how he has done it.
stringy
02-25-2007, 06:15 PM
I`m pretty sure the kirupa gallery is not suitable for your needs if you are going to continue to use rollOvers.
If you have decided to use onPress, give me a link to your "kirupa attempt" files and i`ll fix it for you
GJClimer
02-25-2007, 06:31 PM
i ditched the attmpts this morning. I was drowning in a mess and thought a clean slate would be a good thing.
But here is a rundown of what i did:
i posted the test images online
then his code:
<image>http://www.kirupa.com/developer/mx2004/pg/kresge.jpg</image>
<caption>Kresge</caption>
</pic>
I got confused because i wasn't sure what to change the image part to. i tried a few options, but all of them messed up. The caption part was easy to change....just change the word to whatever word i wanted. viola!
this is referncing the tutorial at http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm
stringy
02-25-2007, 06:38 PM
it is just the path to your images, so if you put your non progressive jpgs in the same folder as the fla, you can just use
<image>image1.jpg</image>
etc
GJClimer
02-25-2007, 06:53 PM
Right now i have my site folder with the images, the FLA file, and the images.xml doc all in it.
I changed the first two images and captions in the code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>image1.jpg</image>
<caption>trying again</caption>
</pic>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/medialab.jpg</image>
<caption>Media Lab</caption>
</pic>
<pic>
<image>image2.jpg</image>
<caption>got a headache!</caption>
</pic>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/stata_lobby.jpg</image>
<caption>Stata Lobby</caption>
</pic>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/construction.jpg</image>
<caption>Construction</caption>
</pic>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/dome.jpg</image>
<caption>The Dome</caption>
</pic>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/structure.jpg</image>
<caption>Structure</caption>
</pic>
</images>
When i run it, i cannot get the first picture to come up, but the caption changes. I know its so simple and i'm probably one step off.
Do you see what the error is?
thanks so much for helping someone out.
g
stringy
02-25-2007, 06:57 PM
The XML is fine
do you have an image1.jpg (non_progressive)?
GJClimer
02-25-2007, 06:58 PM
what do you mean by non-progressive?
i do have image1.jpg and image2.jpg in the same file folder as everything else.
GJClimer
02-25-2007, 07:02 PM
i dont know what changed, but suddenly it worked. i just redid the whole thing and it worked!
Thank you john for all the help...its been great to have support like this.
stringy
02-25-2007, 07:04 PM
it is just a file type you can alter with your image editor(photoshop,fireworks etc)
if you are really stuck upload the files/2images zipped and in the files etc in which you have them
GJClimer
02-25-2007, 08:43 PM
(deleted post)
stringy
02-26-2007, 08:00 PM
?? Maybe you should start a new thread, did you resolve the other problem?
vBulletin v3.5, Copyright ©2000-2010, Jelsoft Enterprises Ltd.