PHP, TPL and Embed Flash Movies?

OK ive added a new .tpl page called destination.tpl.

<embed 
  src="lib/skins/eva/rotate/imagerotator.swf" 
  width="200" 
  height="200"
  allowscriptaccess="always" 
  allowfullscreen="false" 
  flashvars="file=lib/skins/eva/rotate/eva.xml&autostart=true&transition=fade" 
/>

The called it up on frontpage_main.tpl with…

<h3>Our Destinations</h3>

<?php Template::Show('destination.tpl'); ?>

So why doesn’t the movie show the images like this http://www.easternvirtualairways.com/eva/lib/skins/eva/rotate/rotator.html’>http://www.easternvirtualairways.com/eva/lib/skins/eva/rotate/rotator.html ?

Contents of the rotator.html

<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this rotator.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
	var s1 = new SWFObject("imagerotator.swf","rotator","185","185","0");
	s1.addParam("allowfullscreen","false");
	s1.addVariable("file","eva.xml");
	s1.addVariable("width","185");
	s1.addVariable("height","185");
	s1.addVariable("shownavigation","false");
	s1.write("container");
	s1.addParam('flashvars','&autostart=true&displayclick=none&icons=false&repeat=always&shuffle=true');
</script>

If you hover your mouse over the movie http://www.easternvirtualairways.com/eva/ you can see it showing 12 images available but they dont display

If i load http://www.easternvirtualairways.com/eva/lib/skins/eva/rotate/rotator.html in to an i-frame it works but the i-frame breaks the layout

i think there is something in the tpl or php that is stopping the images showing, does anyone know any php issues with flash?

Use absolute paths, with your complete domain in it, in your XML file. Try giving that a shot.

yeah tried that and it didnt work

so i tried it again…and now it works!!

problem solved

What fixed it?

Use absolute paths, with your complete domain in it, in your XML file. Try giving that a shot.

I had already tried that but it didnt work, but i “thought what the hell” and tried it again and that fixed it!