Overview

Having added Flash content support to a website, I was getting this message in Internet Explorer 6.  Internet Explorer 7 and FireFox both worked without any problems.  I knew about the issue of Active Content and Internet Explorer 7, but I didn't know what was causing this problem in IE6.

Solution

It turns out that the message is caused by exactly the same behaviour that causes the infamous "click here to use this control" message in Internet Explorer 7.  See this article:

I was already using a script to generate the <object> tag source, and was using inline script to change the content of the page, depending on whether an appropriate version of Flash had been detected.  However, I was caught out by this inline script line:

flashElement.innerHTML = GenerateFlashElement(...);

The above article comments that the code that adds the <object> tag must be in a separate included JavaScript file, not in inline script.  So, all I had to do was replace the code with a method call and pass the tag content and the containing item to the script:

InsertFlashObject(flashElement, GenerateFlashElement(...));

--- flashHelper.js
function InsertFlashObject(element, innerHTML) {
  element.innerHTML = innerHTML;
}

This solved the problem immediately.

Versions

  • Microsoft Internet Explorer 7
  • Microsoft Internet Explorer 6
  • Adobe Flash 9
  • Windows XP

Metadata


Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
posted @ Monday, January 28, 2008 11:18 AM | in Software Development Windows XP

Comments

Gravatar
# re: Web Development: Flash and the "Press OK to continue loading this page" message
on 4/28/2008 4:09 PM
For those of you using MultipleIE, this problem appears to continue. Make sure you check your websites using a standard installation of Internet Explorer 6 with recent updates.

Post Comment

Title *
Name *
Email
Url
Comment *  


Please add 3 and 3 and type the answer here: