You have at least two problems (the second of which appears to have been worked out, but that might be only for when you have no content in the iframe):
- Flash content is normally displayed separately than other content on a page, so is not able to be 'stacked', generally appearing over everything.
- Iframes generally appear over everything.
If you really have this second issue worked out, then all you need to do is add wmode transparent to the Flash. With the script you are using for that, you can do so like:
Code:
<script type="text/javascript">
var fo = new SWFObject("ext/viewer.swf", "viewer", "100%", "100%", "8", "#929681");
fo.addParam("wmode", "transparent");
fo.addVariable("preloaderColor", "0xffffff");
fo.addVariable("xmlDataPath", "gallery.xml");
fo.addVariable("fontColor", "0xdee0d6");
fo.addVariable("footer", "© 2009");
fo.write("flashcontent");
</script>
Though, as I say, the content in the iframe may be a problem, different browsers treat this differently, and you may have already overcome this via javascript. If not, there must be no background color for anything appearing on the page in the iframe (set it to transparent for all elements including body and html). The iframe itself must have (for IE only) its allowtransparency attribute set to true. Even with all of that, the position and z-index style values must be set properly for the desired stacking. But, as I say, this may already be worked out in some other way, so give the first idea (about the Flash script) a try and see what happens, you will need to do at least that much regardless.
Bookmarks