A simple solution to let Flash animations play automatically with the Internet Explorer Active Content (Eolas patent) patch

Crée le : dimanche 23 Avril 2006
Dernière révision : lundi 19 mars 2007 13:16:49

BackToTheHtml

Download the BacktoTheHtml v0.3.2 javascript file

This script block the Internet Explorer ActiveX update and let the user interacts again with Flash animations. Without this script, user cannot interacts immediatly with Flash animations. A focus rectangle surrounds Flash movies and a tooltip saying Click here to activate this control appears when the mouse cursor is over the Flash movie.

There is only one line of code to insert in the <head> tag of the HTML document to have free access to the animation again :

The line of code to add to the head tag of the HTML document

Nothing else need to be changed in the source of the HTML document.

Just give attention to the following :

Download :
Movie in non FlashSatay mode (objet + embed) is completely loaded before it displays so the user can't interact with during loading. I am currently working on a version of the script that fix this problem, but I need time.
Flashvars :
When your animation uses FlashVars, you need to rename <param name="flashvars" /> in <param name="swremote" />.
In case you use the FlashSatay method you need to use both FlashVars and SWRemote tags. All of the examples in the archive use FlashVars, you just have to copy and paste the code in your web page.
FScommand :
If you use FScommand in your Flash animation to communicate with HTML, do not insert the call to the Javascript in the head tag of the document, but at the end of the HTML document (before the body closing tag) or anywhere after <object> tag of your Flash animation. You can use both the head and the body of the document to insert the call to the script.
  wordpress rss rss français rss english xhtml 1.1 css 2.0 wdg