Hi,
I have the following javascript to embed a flash in my page.tpl.php
<script type="text/javascript">
<!--
var flashvars = {
xmlUrl: "xml/banner.xml" //Use to change XML filename or location
};
var params = {
scale: "noscale",
menu: "false",
bgcolor: "#666666"
};
var attributes = {
id: "banner_swf",
name: "banner_swf"
};
swfobject.embedSWF("banner.swf", "banner_div", "873", "300", "4", "swfobject/expressInstall.swf", flashvars, params, attributes);
//-->
</script>
The problem, now all the xml and swf file referred in that script is under 'rotator' directory inside my 'customtheme' directory. How should I change the paths?
Thank you for the help! Robert