I'm working on a wordpress theme and want to embed a flash banner in the header. I've tried using the normal <object> tags that appear in the html when publishing the swf, and I've also tried using the swfobject (js) method.
I'm testing everything on my localhost. I've adjusted the flash security settings to allow content from the folders that I am working with...
No matter what I do, the flash will not appear in the header. It appears as a blank space (the size and width of the movie).
The file does appear when I bring the file up directly in the browser by inserting the complete file-path into firefox and IE.
It doesn't work when I try to embed it?!
I don't understand at all
Code:<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/swfobject.js"></script> <script type="text/javascript"> swfobject.registerObject("menu_container", "8"); </script>Code:<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="menu_container" width="770" height="380"> <param name="movie" value="<?php bloginfo('stylesheet_directory'); ?>/flash/new.swf"> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="<?php bloginfo('stylesheet_directory'); ?>/flash/new.swf" width="770" height="380"> <!--<![endif]--> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"> </a> <!--[if !IE]>--> </object> <!--<![endif]--> </object>



Reply With Quote
