early in the code...
var myObj = new ActiveXObject("MiProgId");
later...
var objTag = document.createElement('OBJECT');
objTag.id = 'myObj';
objTag.width = 400;
objTag.height = 400;
objTag.body.appendChild(object);
// now bind the instance to the tag
objTag.data = myObj; // obviously, this way doesn't work
I've searched Google newsgoups for this issue and find this post:
http://groups.google.com.ar/group/microsoft.public.scripting.jscript/browse_frm/thread/1f1131a8f6bcf885/baf5b465b528bb18?q=activex+object+without+object+tag&rnum=42&hl=es#baf5b465b528bb18
But it doesn't tells how to bind the tag to an existent instance of an
object.
TIA
Jorge