Hi there. I am hoping to get some help here, so thank you in advance for your time.
I am trying to run two xml driven flash galleries, each having different images and text on two different pages in a website. I have the .fla file as well as the .xml to edit. Im not sure if the problem is in the folder hierarchy, the xml or somewhere else. filelist.jpg
Here are the links to the pages im working on. I will refer to them as VIXENS and LAW
VIXENS (working) http://www.designbyfire.ca/vixens/vixens.html
LAW (not working) http://www.designbyfire.ca/vixens/thelaw.html
The files to run the VIXENS gallery are all in the root folder and work fine,
-vixens.html
-external media (contains preview.swf)
-Images (contains small and big image folders)
-xml (contains data.xml)
The files to run the LAW gallery are,
-thelaw.html (in the root folder, this finds the gallery but not the images)
The "lawgallery" folder sits in the root folder and contains
-external media(contains preview.swf)
-images(contains small and big image folders)
-xml(contains data.xml)
The .xml content is as follows,
<?xml version="1.0" encoding="utf-8"?>
<gallery>
<settings>
<preloaderColor>0xff0000</preloaderColor>
<buttonSelectColor>0xff0000</buttonSelectColor>
<scrollStagePOS>4</scrollStagePOS>
<thumbScrollspeed>.1</thumbScrollspeed>
</settings>
<item>
<image>images/small/01.jpg</image>
<bigimage>images/big/01.jpg</bigimage>
<descBG>0xEBDDE2</descBG>
<text><![CDATA[<font size="25" color="#333333">Name Number etc… <br>001</font><br><br><font size="11" color="#000000">Bios go here…………</font>]]></text>
</item>
The xml in the preview.fla is,
// xml data
function _data() {
xmlUrlReq = new URLRequest("xml/data.xml");
urlLoader = new URLLoader(xmlUrlReq);
urlLoader.addEventListener(IOErrorEvent.IO_ERROR, xmlLoadFailed);
urlLoader.addEventListener(Event.COMPLETE, onComplete);
};
I have attached the file list as a .jpg
I have been trying for two weeks to get this working but I have had no luck. The creator of the gallery said its something wrong with the xml path but has not offered me a solution....
If any one can help I am very grateful
Ross


Reply With Quote


Bookmarks