Hello. I’m working on a full screen flash page. So far, it’s going great and I’m actually just putting on the finishing touches before it goes live. I have one small problem though: after using a kirupa tutorial to get rid of that annoying “click to activate” thing, the alignment of my main swf is no longer flush against the top of the browser screen.
I used the following tutorial to solve my embed issue: Click Here
And the following tutorial for a full screen flash page: Click Here
The following code is what I get from the embed issue tutorial (in my html):
<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent" style="width: 100%px; height: 100%px;"></div>
<script type="text/javascript" >
var fo = new FlashObject("music.swf", "animationName", "100%", "100%", "8", "#000000");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>
The tutorials work great, but putting the two together has suddenly ruined my swf alignment. Solutions anybody? Your help is greatly appreciated.