Hi All
Sorry about asking a non-coldfusion question!

Activating ActiveX Controls 
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp

Thanks to Microsoft IE Browser upgrade for XP, Now my users have to click on 
ActiveX first, before Flash is usable.

I am not sure, how to convert the following code for the new IE Browser ?
any suggestion? 


<script language="JavaScript" type="text/javascript">
<!--
var qString=document.location.search;
if (qString[0]='?') {
        qString=qString.substr(1, qString.length-1);
}

document.write(
        '<div  id="flashContent" name="flashContent" >\n'+
        '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n'+
        '        
codebase="http://www.macromedia.com/flashPlayer/swflash.cab#version=7,0,0,0"\n'+
        '        width="985"\n'+
        '        height="515"\n'+
        '        id="main">\n'+
        '<param name="wmode" value="transparent" />\n'+
        '<param name="allowScriptAccess" value="sameDomain" />\n'+
        '<param name="movie" value="main.swf" />\n'+
        '<param name="FlashVars" value="'+qString+'" />\n'+
        '<param name="quality" value="high" />\n'+
        '<param name="bgcolor" value="#FFFFFF" />\n'+
        '<embed src="main.swf"\n'+
        '       flashvars="'+qString+'"\n'+ 
        '       quality="high"\n'+
        '               wmode="transparent"'+ 
        '       bgcolor="#FFFFFF"\n'+
        '       width="985"\n'+
        '       height="515"\n'+
        '       name="main"\n'+
        '       type="application/x-shockwave-flash"\n'+
        '       pluginspage="http://www.macromedia.com/flashPlayer"; />\n'+
        '</object>\n'+
        '</div>'
);
//-->
</script>


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/cfcdev@cfczone.org


Reply via email to