OK, I've played around with this for too long now, so I'm hoping I'll get some expert advice here. ;-)
What I have is a page that loads with a large top banner on it (large image across the page), then in the main body I have 3 thumbnails.
When any of the thumbnails is clicked, I want to dynamically load a Flash SWF into the same area as the image and start the 'movie'.
The movie itself is loaded as such...
and this uses the swfobject.js script.
As you can see, this loads an XML which details the images to scroll round the flash gallery, and the Banner.swf which loads into the container 'header'.
The problem I have is that I need to load 3 separate Flash movies (although the Banner.swf would be constant, just a different XML) and I need them loaded AJAX style.
Any help?
What I have is a page that loads with a large top banner on it (large image across the page), then in the main body I have 3 thumbnails.
When any of the thumbnails is clicked, I want to dynamically load a Flash SWF into the same area as the image and start the 'movie'.
The movie itself is loaded as such...
Code:
<script type="text/javascript">
var flashvars = {xmlFile:"xml/traditional.xml"};
var params = {};
params.menu = "false";
params.quality = "high";
var attributes = {};
swfobject.embedSWF("Banner.swf", "header", "1024", "411", "9.0.0", false, flashvars, params, attributes);
</script>
As you can see, this loads an XML which details the images to scroll round the flash gallery, and the Banner.swf which loads into the container 'header'.
The problem I have is that I need to load 3 separate Flash movies (although the Banner.swf would be constant, just a different XML) and I need them loaded AJAX style.
Any help?