| 214-564-5316 | | Tuesday, July 08, 2008 |
|
"Click to activate and use this control" |
|
April 06, 2006 Perhaps in browsing the web lately you have encountered a new behavior when using your Internet Explorer browser. As you move over Flash, Java Applets or other "objects" you are greeted with a small visual cue stating "Click to activate and use this control" and you will notice an outline surrounding the object. If it is an active control (like a Flash menu, for instance) you must click the control to "approve" it before the Flash navigation buttons will work. Microsoft this week delivered a long-awaited update for Internet Explorer 6 that changes the way the browser loads embedded ActiveX controls. The modification comes as part of an ongoing patent dispute with Eolas Technology and the University of California. In August 2003, a federal court ruled that Microsoft had infringed on a patent related to plug-in technology used in Internet Explorer. In response, Microsoft said it would alter how the browser implemented ActiveX, but later backed away from the switch. Software affected by the patent would include Macromedia Flash, QuickTime, RealOne Player, Acrobat Reader, Sun's Java Virtual Machine, and Windows Media Player among other applications that embed into Web pages. But following two legal setbacks in its efforts to invalidate the Eolas patent and have the ruling appealed, Microsoft said in December it would go ahead with the update. "Plug-ins" include objects like Flash movies and Java Applets, as well as any other components that use the EMBED, APPLET, or OBJECT HTML tags. With the update, ActiveX controls will no longer be activated by default. The change in IE forces users to first click on the control before it will recognize any input. As you might imagine this would be a nightmare for the users, forcing them to approve content like Flash or java applets prior to having them interact properly in the browser window. The update -- available for Windows XP and Windows 2003 -- is currently available as an optional download from the Microsoft Download Center and Windows Update. Microsoft said it expects the majority of IE users to download the patch as part of their security updates over the next four to six months. It's not clear if and when the company will issue an update for Windows 2000 users. Internet Explorer 7 for Windows XP and Windows Vista will include the change as well. The workaround is fairly straightforward: First, download the javascript "flash-fix.js" (in a .zip format) Then insert the script on every page that has an ActiveX control with this code: Now find the code that embeds the Flash movie. Don’t delete it yet, because you’ll want to grab some of its parameters: <object classid=" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="500" height="100" id="mymovie"> Add this code after the last </object> tag. <div id="flashcontent"></div> You can keep the div’s ID ("flashcontent") or call it something else. Then, put your alternate content in between the <div id="flashcontent"> and </div> tags. This can be simple text, or it can be HTML code for a replacement image, whatever you want. This even allows search engines to index that alternate content as well. Add this code underneath the <div id="flashcontent"></div> code: <script type="text/javascript"> This short bit of Javascript is what passes in the Flash movie parameters from the original Flash code so that the javascript can display the Flash movie properly. Here’s the breakdown: new FlashObject( At this point, you can delete the original Flash code (the <object> </object> tags) and everything in between. |