Hi,
I'm trying to put a .swf file on the background of my wordpress site. So when i -let's say- create a .swf file with a blue colored shape it should use it as a background for my website.
So far i've tried two things:
1:
header.php:
<script type="text/javascript" src="http://localhost/wordpress/wp-content/themes/default/swfobject.js"></script>
<body>
<script type="text/javascript">
var so = new SWFObject("http://localhost/wordpress/wp-content/themes/default/bluebackground.swf", "mymovie", "400", "400", "8", "#336699");
so.write("flashcontent");
</script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
which sadly doesn't show me anything but the original 'this text is.. ' text.
2:
i've installed and activated WP-SWFObject and added:
wp_swfobject_echo("bluebackground.swf", "800", "600");
in header.php
This did work, but it just puts the swf just there, not as a background.
So my question is: How should i fix this so it does put the swf as a background?
Tnx in advance,
Rick