# Embed Issue -- Are You Using the New Method?

**URL:** https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200
**Category:** flash
**Created:** [April 19, 2006, 6:12pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200 "2006-04-19T18:12:34Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![brianjs\_04](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@brianjs\_04](https://forum.kirupa.com/u/brianjs_04)
#### Post date: [April 19, 2006, 6:12pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/1 "2006-04-19T18:12:34Z")

</div>

Since the IE update a couple of months ago – THINGS HAVE CHANGED ☹

**QUESTION:**  
**How many of you are using the new javascript solutions (whether Kirupa’s or Macromedia’s) to display flash.**

(I’m asking because I’ve just visited some high end sites like Praystation, Ego, etc. – and they didn’t change deployment - so want to get a sense of who is doing this out there.)

Thanks,

Brian

---

<div class="post-metadata">

### Author: ![kBisk](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kBisk](https://forum.kirupa.com/u/kBisk)
#### Post date: [April 19, 2006, 6:39pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/2 "2006-04-19T18:39:22Z")

</div>

Basically the “new method” or work around is to display the flash object at runtime using javascript (document.write(), innerHTML, etc). I’m not sure whether to go and change all my sites that do not use that or wait until its fixed. I know you can download a patch from Microsoft’s web site that will correct it, but unless it’s an actual update, most average user’s wouldn’t download it and they will be stuck with the activation message. What does everyone else think? Fix it or wait?

---

<div class="post-metadata">

### Author: ![audrius\_05](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@audrius\_05](https://forum.kirupa.com/u/audrius_05)
#### Post date: [April 19, 2006, 7:03pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/3 "2006-04-19T19:03:29Z")

</div>

this patch is messed up, you have to go into regedit and add bunch of crap there, unless we both have different patches in mind.

can you post a link to that downloadable patch please?

> 

You can also enable interactive control blocking by adding your application’s process name to the following registry key.

**HKEY\_LOCAL\_MACHINE (or HKEY\_CURRENT\_USER)**  **SOFTWARE**  **Microsoft**  **Internet Explorer**  **Main**  **FeatureControl**  **FEATURE\_ENABLE\_ACTIVEX\_INACTIVATE\_MODE** _process\_name.exe_\*\*=\*\*_(DWORD) 0x00000001_  
**Note** Because users can modify the registry, the **DOCHOSTUIINFO** flag is the preferred way to enable interactive control blocking.  
Applications can register to incorporate ActiveX control activation by default. For more information, please engage your Technical Account Manager or contact Microsoft Product Support.

---

<div class="post-metadata">

### Author: ![Scottoons](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/scottoons/32/1966_2.png) [@Scottoons](https://forum.kirupa.com/u/Scottoons)
#### Post date: [April 19, 2006, 9:54pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/4 "2006-04-19T21:54:45Z")

</div>

> [@brianjs\_04](#):
>
> **How many of you are using the new javascript solutions (whether Kirupa’s or Macromedia’s) to display flash.**

I’m trying to start using the js method but am not having luck in the flash files showing up in IE. It works great in Firefox. Anyone else having the same issue?

---

<div class="post-metadata">

### Author: ![tommylynn](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@tommylynn](https://forum.kirupa.com/u/tommylynn)
#### Post date: [April 20, 2006, 4:58pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/5 "2006-04-20T16:58:12Z")

</div>

Yes-I’m having the same issue.

---

<div class="post-metadata">

### Author: ![Mvespa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mvespa/32/970_2.png) [@Mvespa](https://forum.kirupa.com/u/Mvespa)
#### Post date: [April 20, 2006, 5:11pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/6 "2006-04-20T17:11:29Z")

</div>

Me too! But I’ve implemented de flashobject.js solutionand it worked. but it sucks all the time I finished a job, have to do this.

Hope this solve as soon as possible!

---

<div class="post-metadata">

### Author: ![tommylynn](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@tommylynn](https://forum.kirupa.com/u/tommylynn)
#### Post date: [April 20, 2006, 5:36pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/7 "2006-04-20T17:36:35Z")

</div>

This works!!

[http://www.bobbyvandersluis.com/ufo/](http://www.bobbyvandersluis.com/ufo/)

---

<div class="post-metadata">

### Author: ![tommylynn](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@tommylynn](https://forum.kirupa.com/u/tommylynn)
#### Post date: [April 20, 2006, 5:49pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/8 "2006-04-20T17:49:30Z")

</div>

New issue - embedding multiple swfs in html???

Got it: Create another ‘FO’ varable…

```auto
var FO = { movie:"test6.swf", width:"300", height:"120", majorversion:"6", build:"0" };
UFO.create(FO, "ufoDemo");
        
var FO2 = { movie:"home-header2.swf", width:"500", height:"350", majorversion:"7", build:"0" };
UFO.create(FO2, "ufoDemo2");

```

---

<div class="post-metadata">

### Author: ![kBisk](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kBisk](https://forum.kirupa.com/u/kBisk)
#### Post date: [April 21, 2006, 2:33pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/9 "2006-04-21T14:33:26Z")

</div>

Those methods including Kirupa’s are fairly complicated solutions. All you have to do is use document.write() for each line of the object tag and the problem is solved.

---

<div class="post-metadata">

### Author: ![chrisisjargon](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chrisisjargon](https://forum.kirupa.com/u/chrisisjargon)
#### Post date: [April 21, 2006, 2:52pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/10 "2006-04-21T14:52:13Z")

</div>

> [@Carbon21](#):
>
> Those methods including Kirupa’s are fairly complicated solutions. All you have to do is use document.write() for each line of the object tag and the problem is solved.

could you give an example carbon how to do that please

thanks in advance

---

<div class="post-metadata">

### Author: ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)
#### Post date: [April 21, 2006, 2:53pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/11 "2006-04-21T14:53:58Z")

</div>

I would say fix it. Its hard to depend on other users to see if they are going to download the most updated IE or patch to fix the issue. If you have control of the problem, fix it. I’m fixing all my sites at work. It is a bit complicated but it works great for me.

If you guys need another way to do this. let me know.

I’ll forward my solution.

:hr:

---

<div class="post-metadata">

### Author: ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)
#### Post date: [April 21, 2006, 3:58pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/12 "2006-04-21T15:58:16Z")

</div>

> [@chrisisjargon](#):
>
> could you give an example carbon how to do that please
> 
> thanks in advance

Look at the source =)  
[http://2210media.com/flash.html](http://2210media.com/flash.html)

---

<div class="post-metadata">

### Author: ![B\_L\_U\_E](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@B\_L\_U\_E](https://forum.kirupa.com/u/B_L_U_E)
#### Post date: [April 21, 2006, 4:44pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/13 "2006-04-21T16:44:13Z")

</div>

> [@Carbon21](#):
>
> I’m not sure whether to go and change all my sites that do not use that or wait until its fixed. I know you can download a patch from Microsoft’s web site that will correct it, but unless it’s an actual update, most average user’s wouldn’t download it and they will be stuck with the activation message. What does everyone else think? Fix it or wait?

From what I’ve heard, this isn’t accidental, but rather a result of a lawsuit… So I don’t see why they would create another patch to fix it.

---

<div class="post-metadata">

### Author: ![brianjs\_04](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@brianjs\_04](https://forum.kirupa.com/u/brianjs_04)
#### Post date: [April 21, 2006, 5:43pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/14 "2006-04-21T17:43:22Z")

</div>

BlueNar is correct - there is not supposed to be a patch for this folks. My understanding: it’s not a bug – it’s the new way that IE will display Flash without our using the workaround.

(That’s why I posted this initially - to see who’s already implementing)

---

<div class="post-metadata">

### Author: ![kBisk](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kBisk](https://forum.kirupa.com/u/kBisk)
#### Post date: [April 21, 2006, 8:03pm UTC](https://forum.kirupa.com/t/embed-issue-are-you-using-the-new-method/186200/15 "2006-04-21T20:03:07Z")

</div>

> [@chrisisjargon](#):
>
> could you give an example carbon how to do that please
> 
> thanks in advance

Josh (rhamej) gave a good example except that you can’t actually see what the writeit() function is doing unless you download the js file. Basically its doing something along the lines of:

```auto
function writeit(){
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0)" width="200" height="400">');
 document.write('<param name="quality" value="high"><param name="menu" value="false"><param name="movie" value="myfile.swf"');
 document.write('<embed src="myfile.swf" width="200" height="400" quality="high" menu="false" pluginspage="[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)" type="application/x-shockwave-flash"></embed></object>');
}

```
