# Fixing the embed issue - how to align?!

**URL:** https://forum.kirupa.com/t/fixing-the-embed-issue-how-to-align/204164
**Category:** Uncategorized
**Created:** [October 17, 2006, 4:39pm UTC](https://forum.kirupa.com/t/fixing-the-embed-issue-how-to-align/204164 "2006-10-17T16:39:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pantas](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@pantas](https://forum.kirupa.com/u/pantas)
#### Post date: [October 17, 2006, 4:39pm UTC](https://forum.kirupa.com/t/fixing-the-embed-issue-how-to-align/204164/1 "2006-10-17T16:39:47Z")

</div>

hi there kirupa’s!:luigi:

checked out the [fixing flash/embed issue tutorial](http://www.kirupa.com/developer/flash8/flash_fix.htm), but i dont understand very much of javascript, so i cant change the code to specify the alignment…any usefull link or tips?

how can i align the swfs with fullscreen, no scale and centered in the middle of the window?

i got the following code from the flash script in the tutorial, but dont understand the language…:skull:

```auto
<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent" style="width: 1000px; height: 590px"></div>
<script type="text/javascript">
var fo = new FlashObject("index.swf", "animationName", "1000", "590", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>

```

thanks in advance mates!  
regards

---

<div class="post-metadata">

### Author: ![pantas](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@pantas](https://forum.kirupa.com/u/pantas)
#### Post date: [October 23, 2006, 4:45pm UTC](https://forum.kirupa.com/t/fixing-the-embed-issue-how-to-align/204164/2 "2006-10-23T16:45:35Z")

</div>

anyone?  
i got the alignment part already, but cant make the bg get fullscreen…

---

<div class="post-metadata">

### Author: ![onecommoncode](https://avatars.discourse-cdn.com/v4/letter/o/47e85d/32.png) [@onecommoncode](https://forum.kirupa.com/u/onecommoncode)
#### Post date: [October 23, 2006, 8:33pm UTC](https://forum.kirupa.com/t/fixing-the-embed-issue-how-to-align/204164/3 "2006-10-23T20:33:22Z")

</div>

vFlashObject(“index.swf”, “animationName”, “1000”, “590”, “8”, “#FFFFFF”);

When you publish your flash file I just make the width=“100%” height=“100%” then just change 1000 and 590 to 100%.

That worked for me.
