hi - i have javascript talking with Flash. Works great in Firefox (as is always the case), but IE (all versions) has issues. Essentially i get a warning at the line of code that innerHTML starts (after the appendChild)- i had read i needed to append the child before writring innerHTML , but that still is not the trick.

Can you take a look, and tell me what i need to tell IE? I am thinking it has to do with ActiveXObject???

Code:
function playVid(src){
	var pb=document.getElementById("player");
	var pl=document.getElementById("FLVPlayer");
	if(pl){
		pb.removeChild(pl);	
	}
	var src=src;
	var em=document.createElement("object");
	em.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";
	em.setAttribute("codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0");
	em.setAttribute("width","640");
	em.setAttribute("height","490");
	em.id="FLVPlayer"
	pb.appendChild(em);
	em.innerHTML="<param value=\"myPlayer.swf?contnt="+src+"\" name=\"movie\" /><param  value=\"sameDomain\" name=\"allowScriptAccess\"/>";
	em.innerHTML+= "<param value=\"high\" name=\"quality\" /><param  value=\"noscale\" name=\"scale\"/>";
	em.innerHTML+="<embed  src=\"myPlayer.swf?contnt="+src+"\" quality=\"high\" width=\"640\" height=\"490\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />";
}