06 September 2006

Flash object fix (click here to activate and use this control), the grey border.

After a recent IE/Windows update the flash content and other objects (Windows Media, RealPlayer, QuickTime) cannot be displayed correctly and appear with a grey border and a text "click here to activate and use this control".
There are few solutions released by different developers, the solution provided by Adobe/Macromedia.com is to add JavaScript in addition to the flash object tag that you already use now.

The article:
http://www.macromedia.com/devnet/.../devletter.html

The JavaScripts:
http://download.macromedia.com/.../activecontent_samples.zip
After you download please make sure you use the right path to your 2 external js files.

This is a sample I made for users:
http://www.adriantnt.com/.../swf_object_with_java.zip

You will find a flash menu there that uses the java scripts provided by Adobe and the grey box will not appear in your updated browsers.
How new html code for your swf should look like:


I used this method at few of my sites and seems to work fine in IE and Mozilla
- Adrian.

No comments: