# Customizing the IE / Flash Fix Kirupa posted

**URL:** <https://forum.kirupa.com/t/customizing-the-ie-flash-fix-kirupa-posted/185880>\
**Category:** Uncategorized\
**Created:** [April 17, 2006, 1:06pm UTC](https://forum.kirupa.com/t/customizing-the-ie-flash-fix-kirupa-posted/185880 "2006-04-17T13:06:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoonDock](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/boondock/32/1188_2.png) [@BoonDock](https://forum.kirupa.com/u/BoonDock)\
**Post date:** [April 17, 2006, 1:06pm UTC](https://forum.kirupa.com/t/customizing-the-ie-flash-fix-kirupa-posted/185880/1 "2006-04-17T13:06:36Z")

</div>

Ok so I’m using the new code generator that Kirupa has made to fix this whole ActiveX IE - Flash conflict we’re all experiencing … and I just wanted to know if there was any way of customizing it …

So say I had this script originally:

```auto
 
[SIZE=1]<script type="text/javascript" src="flashobject.js"></script>
<!-- 
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="100%" height="100%"'
    + 'codebase="[/SIZE][[SIZE=1]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'[/SIZE]](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab&quot;>')
[SIZE=1] + '<param name="movie" value="index.swf" /><param name="loop" value="false" /><param name="menu" value="false" /><param [/SIZE]
[SIZE=1]name="quality" value="high" /><param name="scale" value="noscale" /><param name="bgcolor" value="#000000" />'
    + '<embed src="index.swf" loop="false" menu="false" quality="high" scale="noscale" bgcolor="#000000" '
    + 'width="100%" height="100%" name="index" align="middle"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="[/SIZE][[SIZE=1]http://www.macromedia.com/go/getflashplayer">'[/SIZE]](http://www.macromedia.com/go/getflashplayer&quot;>')
[SIZE=1] + '<\/embed>'
    + '<\/object>';
    document.write(oeTags); // embed the flash movie
  } else { // flash is too old or we can't detect the plugin
    var alternateContent = 'Alternate HTML content should be placed here.'
   + 'This content requires the Macromedia Flash Player.'
    + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
    document.write(alternateContent); // insert non-flash content
  }
// -->
</script>[/SIZE]

```

And this was my new generated code:

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

```

Help please! Or another workaround would be great (i just want to have my movie centered like it was before…)

Thanks! :thumb:  
Boon out.

---

<div class="post-metadata">

**Author:** ![devonair](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@devonair](https://forum.kirupa.com/u/devonair)\
**Post date:** [April 17, 2006, 1:15pm UTC](https://forum.kirupa.com/t/customizing-the-ie-flash-fix-kirupa-posted/185880/2 "2006-04-17T13:15:06Z")

</div>

I have a few flashobject html templates available for download here: [http://www.onebyonedesign.com/downloads/FO\_HTMLtemplates.zip](http://www.onebyonedesign.com/downloads/FO_HTMLtemplates.zip)

one should allow you to center your flash movie.

---

<div class="post-metadata">

**Author:** ![BoonDock](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/boondock/32/1188_2.png) [@BoonDock](https://forum.kirupa.com/u/BoonDock)\
**Post date:** [April 17, 2006, 1:43pm UTC](https://forum.kirupa.com/t/customizing-the-ie-flash-fix-kirupa-posted/185880/3 "2006-04-17T13:43:35Z")

</div>

Hey thanks! I’ll check em out!

---

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [April 17, 2006, 4:40pm UTC](https://forum.kirupa.com/t/customizing-the-ie-flash-fix-kirupa-posted/185880/4 "2006-04-17T16:40:03Z")

</div>

For simple parameter additions, you could simply tag on more fo.addParam(…) lines.

For example, my code does not contain the **type** and **pluginspage** details, and you can add those in by using the following two lines:

```auto

fo.addParam("type", "application/x-shockwave-flash");
fo.addParam("pluginspage", "http://www.macromedia.com/go/getflashplayer");

```

:beam:

---

<div class="post-metadata">

**Author:** ![BoonDock](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/boondock/32/1188_2.png) [@BoonDock](https://forum.kirupa.com/u/BoonDock)\
**Post date:** [April 17, 2006, 5:02pm UTC](https://forum.kirupa.com/t/customizing-the-ie-flash-fix-kirupa-posted/185880/5 "2006-04-17T17:02:32Z")

</div>

Thanks Kirupa! :thumb2:
