Flash object fix. Click here to activate and use this control (the gray border).
After a recent IE/Windows update the flash content and other objects (Windows Media, Real Player, Quick Time) cannot be displayed correctly and appear with a gray 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 (sorry, link became unavailable):
http://www.macromedia.com/devnet/activecontent/articles/devletter.html
The JavaScripts:
http://download.macromedia.com/pub/developer/activecontent_samples.zip
Note: the solution in the above 2 links is the first solution provided by Adobe/Macromedia, the solution explained below is a newer one that was implemented in the Macromedia Dreamweaver interface.
This is a sample I made for users: Download sample.
You will find a flash file there that uses the java scripts provided by Adobe and the gray box will not appear in your updated browsers.
Default code that displays a flash file looks like this:
How new html code for your swf should look like:
Important notes:
- The highlighted text is the code that was added to the default code.
- Make sure you have same menu width and height in all locations (underlined with red) in all your html code and in the JavaScript that was added in top of default code.
- Make sure you have correct 'movie' and 'src' parameters set in the JavaScript.
- Movie and Src parameters are entered without the .swf extension.
Download the sample files from here.
You will find a flash file there that uses the java script provided by Adobe and the gray box will not appear in your updated browsers.
Using this method should work fine in both IE and Mozilla browsers.