IE7 Flash problem - Click to activate and use this control box

December 6, 2007 at 3:50 am | In 07 + Titbit Theory |

If you are a common Flash user or developer or just any Internet user who likes flash, you should notice whenever you mouse over a Flash element, you will be prompt with message “click to activate and use this control”.

According to FixIt.com, “This is caused by the latest IE updates. Microsoft recently lost a legal battle with a patent holder about the way Internet Explorer displays OBJECTs and EMBEDs in webpages. Microsoft then decided to update its Internet Explorer browser with changes requiring user input to display and activate ActiveX based media.”

Thanks to that, users now have to click on the Flash, QuickTime, RealPlayer, Java, etc. files first to activate its functions.
For new developers, how to solve this small issue? Yes, it is quite minor.

Follow these steps:
1. Below the last in the HTML coding, insert the following Javascript:

<script type="text/javascript" src="IEmatter.js"></script>

2. Create a new javascript file (.js) via Notepad (or any program you prefer). Copy and paste the following code into it:

theObjects = document.getElementsByTagName(”object”);
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}

3. Save this file as IEmatter.js (or any name that you specify in the src for script tag in step 1).

Alternativelt, just visit FixIt.com and download the above file from there. Remember to right-click on top of download and select “Save as…”.

4. Upload both files to your webserver, and the problem should be solved.

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.