I have a html page that launch a "swf" page by creating a object string then calling an document.write() - see code below -
I would like to overlap part of the swf section with some static image.
I have tried using standard CSS techniques with no success. Also tried using <iframes> with the swf being include in one iframe, and my static image in another. Unfortunatly it doesn't work. Is there a "param" that I am missing ? or any other suggestion ...
Merci
showIntroContent(parModule){
var obj_str = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" width="800" height="600" id="intro" align="middle">' +
'<param name="allowScriptAccess" value="sameDomain"/>' +
'<param name="movie" value="learningElements/'+parModule+'/intro.swf"/>' +
'<param name="quality" value="high"/>' +
'<param name="menu" value="false">' +
'<param name="bgcolor" value="#ffffff"/>' +
'<embed src="learningElements/'+parModule+'/intro.swf" quality="high" bgcolor="#ffffff" width="800" height="600" name="intro" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage=" +'</object>';
document.write(obj_str);
I would like to overlap part of the swf section with some static image.
I have tried using standard CSS techniques with no success. Also tried using <iframes> with the swf being include in one iframe, and my static image in another. Unfortunatly it doesn't work. Is there a "param" that I am missing ? or any other suggestion ...
Merci
showIntroContent(parModule){
var obj_str = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" width="800" height="600" id="intro" align="middle">' +
'<param name="allowScriptAccess" value="sameDomain"/>' +
'<param name="movie" value="learningElements/'+parModule+'/intro.swf"/>' +
'<param name="quality" value="high"/>' +
'<param name="menu" value="false">' +
'<param name="bgcolor" value="#ffffff"/>' +
'<embed src="learningElements/'+parModule+'/intro.swf" quality="high" bgcolor="#ffffff" width="800" height="600" name="intro" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage=" +'</object>';
document.write(obj_str);