davehardy Posted January 2, 2009 Report Share Posted January 2, 2009 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 Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 2, 2009 Author Report Share Posted January 2, 2009 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 Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 2, 2009 Author Report Share Posted January 2, 2009 i think there is something in the tpl or php that is stopping the images showing, does anyone know any php issues with flash? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 2, 2009 Administrators Report Share Posted January 2, 2009 Use absolute paths, with your complete domain in it, in your XML file. Try giving that a shot. Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 2, 2009 Author Report Share Posted January 2, 2009 yeah tried that and it didnt work Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 2, 2009 Author Report Share Posted January 2, 2009 so i tried it again.......................and now it works!! problem solved Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 2, 2009 Administrators Report Share Posted January 2, 2009 What fixed it? Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 3, 2009 Author Report Share Posted January 3, 2009 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.