j05hr
12-14-2008, 11:24 AM
I bought a flash xml photo gallery, the problem is, it automatically loads gallery.xml, i want to make others so i can have more then one on my site.
I've spoken to the owner of the file but he's been less then helpful.
This is the code i've got from him and it just doesn't work it still points to gallery.xml
Here's what i got, how would i go about making it load a file called travel.xml?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<div id="flexiGalleryContainer">
<script type="text/javascript">
var so = new SWFObject (swf, id, width, height, version, background-color);
so.addParam("BASE", "");
so.addVariable("settingsXML", "data/settings.xml");
so.addVariable ("galleryXML", "data/travel.XML");
so.write("flexiGalleryContainer");
</script>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="560"
height="540"
id="1"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="travel.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#E6EAF2" />
<param name="base" value="./" />
<embed
src="gallery.swf"
quality="high"
bgcolor="#E6EAF2"
width="560"
height="540"
name="flash"
align="middle"
allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
base="./"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</body>
</html>
Thanks for the help
I've spoken to the owner of the file but he's been less then helpful.
This is the code i've got from him and it just doesn't work it still points to gallery.xml
Here's what i got, how would i go about making it load a file called travel.xml?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<div id="flexiGalleryContainer">
<script type="text/javascript">
var so = new SWFObject (swf, id, width, height, version, background-color);
so.addParam("BASE", "");
so.addVariable("settingsXML", "data/settings.xml");
so.addVariable ("galleryXML", "data/travel.XML");
so.write("flexiGalleryContainer");
</script>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="560"
height="540"
id="1"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="travel.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#E6EAF2" />
<param name="base" value="./" />
<embed
src="gallery.swf"
quality="high"
bgcolor="#E6EAF2"
width="560"
height="540"
name="flash"
align="middle"
allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
base="./"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</body>
</html>
Thanks for the help