# Alignment Problem after fixing Embed Issue

**URL:** https://forum.kirupa.com/t/alignment-problem-after-fixing-embed-issue/240853
**Category:** Uncategorized
**Created:** [October 7, 2007, 9:44am UTC](https://forum.kirupa.com/t/alignment-problem-after-fixing-embed-issue/240853 "2007-10-07T09:44:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![YoungNastyMan](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@YoungNastyMan](https://forum.kirupa.com/u/YoungNastyMan)
#### Post date: [October 7, 2007, 9:44am UTC](https://forum.kirupa.com/t/alignment-problem-after-fixing-embed-issue/240853/1 "2007-10-07T09:44:03Z")

</div>

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](http://www.kirupa.com/developer/flash8/flash_fix.htm)  
And the following tutorial for a full screen flash page: [Click Here](http://www.kirupa.com/developer/mx2004/fullscreen.htm)

The following code is what I get from the embed issue tutorial (in my html):

```auto
<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.
