how come when im trying to write something to this html file it keeps saying
code:
Error: 'document' is undefined
in the debug..
here is the code..
code:
var IE = new ActiveXObject("InternetExplorer.Application");
IE.width="476";
IE.height="416";
IE.statusbar=false;
IE.toolbar=false;
IE.menubar=false;
IE.addressbar=false;
IE.visible=true;
var code = "<HTML>";
code += "<TITLE>YouTube Video: "+video+"</TITLE>";
code += "<BODY style='background:black'>";
code += "<object width=\"425\" height=\"350\"><param name=\"movie\" value=\"http://www.youtube.com/v/"+video+"\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://www.youtube.com/v/"+video+"\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"425\" height=\"350\"></embed></object>";
code += "</BODY>";
code += "</HTML>";
var VideoViewer = IE.navigate(MsgPlus.ScriptFilesPath+"\\Viewer.html");
VideoViewer.document.write(code);
can anyone help