this is probably an easy problem. I'm using swfobject to play a swf flash file on a landing page. I know the flash player will open it's own window to present the content. I thought if I specified 'wmode', 'opaque' the file would be "forced" into the flow of the web page and I could gain control of it's positioning. I used this wmode setting and yet the file keeps "doing it's own thing" and not appearing inside the div where I want to position it.
The following is a stripped down version of my problem; the swf and swf object files are in the same directory; the swf file plays just fine, it just doesn't want to go into my div id="target_img":
<style type="text/css" >
border:thin solid #33CC33;
<img src="images/newhead2.jpg" alt="company icon" />
<div id="target_img"><img src="images/land.swf" /></div>
<br /><br />
var so = new SWFObject('images/land.swf','target_img','300','240','9');
I've also tried moving the closing </div> to the position right after </script> but this has had no effect.
I welcome any suggestions.