[RESOLVED] xml driven gallery not working on website
I can't understand what is happenning. I have just changed the folders where I had the images for the gallery, bith the thumbs and the pictures because I couldn't get it to work on my website. The way I had it before was in their respective folders and it worked locally, but as soon as I posted it, I can only see the thumbnails... I figured it could be a size problem but I have decreased the pictures' size changing them to greyscale but still only the thumbnails load.
check that the .xml is in the same folder as the .swf in the server. Check that in flash, you are calling the .xml with NO PATH EG (loadVars("C:/documents/myXML.xml")) and instead you let it single (loadVars("myXML.xml")).
Check that you server supports scripts or/and xml files.
I just tried getting rid of some files in the server thinking It could be a file size related issue, but no change. The folders are exactly the same either locally or in the server. I can only see the thumbs loaded. I noticed it wouldn't load the png image files even locally at first when they were over a certain size, but I can't figure out what may be going on when i have changed their size and I even tried a different format (jpgs) that wouldn't work either...
no, that wasn't it. I've given up on the idea of making my gallery or portfolio xml based. I'll place all my pictures in the library instead and load them some other way, but thanks.
I doubt it could be a coordinate related problem when it looked up perfectly on my PC. Coordinates don't change on using a different server, could they? Anyway, thanks again. I might try doing this again in the future, seems like a better idea to keep assets apart from the swf.
It works on my side. I have a server on my computer with IIS, running on port 4412, and i uploaded your files there (xml, swf and thumbs folder with untitled - 1.png) and the image is being loaded successfully. Try another server.
I had even tried placing the thumbnails and the larger images on the same root folder and I was getting the same problem. Only the thumbnails loaded. It is possible to add a loading progress listener event on the fullimage loading part to see whether it actually loads the full image, right?
Well, i don't think a listener would solve your problem. I used traces for all your functions and they are working great. On my side, your flash is working great, locally as good as remotely(server). I used 3 images of mine, and renamed it to untitled - 1.png, untitled - 2.png and so on. Then I tested the .fla and the images are successfully loaded and shown. Then when I rollover the images, the alpha changes to 75%. You have to put the images inside the folder "thumbs" and that folder goes along with the .swf and the .xml.