
Код:
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=">
<TITLE>dve_test</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function dve_test_DoFSCommand(command, args) {
var dve_testObj = InternetExplorer ? dve_test : document.dve_test;
//
// Place your code here...
alert("GOOD");
//
}
function m_obj(){
if (navigator.appName.indexOf ("Microsoft") !=-1){
return window["dve_test"]
}else{
return document["dve_test"]
}
}
function ttt(args) {
//alert(args);
var xxx=args;
m_obj().SetVariable("_root.ca1", xxx);
m_obj().SetVariable("_root.x_in", xxx);
}
// Hook for Internet Explorer
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub dve_test_FSCommand(ByVal command, ByVal args)\n');
document.write(' call dve_test_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->
</SCRIPT>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
ID="dve_test" WIDTH="550" HEIGHT="400" ALIGN="">
<PARAM NAME=movie VALUE="dve_test.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#CCFFFF> <EMBED src="dve_test.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" swLiveConnect=true ID="dve_test" NAME="dve_test" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>