Sample of DHTML and Flash working together "in concert"

This example is from the front page of Easy Best Dating website, which uses both DHTML and Flash working together "behind the scenes" to ensure maximum cross-browser/cross-platform optimal compatibility. For example, if someone were using an ancient browser that can't even handle frames, a very simple HTML 1.1 version of the website is loaded instead. Otherwise if it is not an ancient browser, if someone is using a browser which either does not support JavaScript or doesn't have the Flash 4 player installed, none of the "fancy" features will be displayed. But even though the user will only see the basic verison of the website, it will still be 100 percent functional. The "fancy" features is the use of JavaScript for a DIV (MSIE) or LAYER (Netscape/Mozilla), which is turned off by default. The Flash animation (which obviously can only work if there is the Flash player installed), will send a command to the parent window's JavaScript once it has finished completely loading. This command will then invoke the JavaScript to activate the DIV or LAYER. As soon as the Flash animation is finished playing, it then sends another command to the parent window's JavaScript, which in turn will then de-activate the DIV or LAYER.

To see this, click here