Posted By

ryarwood on 07/17/10


Tagged

flash embed transparent


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

mchadwick


Embed Flash Transparent


 / Published in: JavaScript
 

  1. function create(FO) {
  2. document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"' +
  3. 'width="' + FO.width + '" height="' + FO.height + '" wmode="transparent" id="' + FO.name + '">' +
  4. '<param name="allowScriptAccess" value="sameDomain" />' +
  5. '<param name="movie" value="' + FO.movie + '" />' +
  6. '<param name="quality" value="high" />' +
  7. '<param name="wmode" value="transparent">' +
  8. '<embed src="' + FO.movie + '" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"' +
  9. 'width="' + FO.width + '"' +
  10. 'height="' + FO.height + '"' +
  11. 'name="' + FO.name + '"' +
  12. 'wmode="transparent" swliveconnect="true" allowScriptAccess="sameDomain"></embed></object>');
  13. };

Report this snippet  

You need to login to post a comment.