Return to Snippet

Revision: 697
at August 30, 2006 12:06 by kanirasta


Updated Code
function showFlash (url, width, height, color){
    document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="' + width + '" height="' + height + '" id="flash" align="middle" SWLIVECONNECT="true">');
    document.write ('<param name="allowScriptAccess" value="sameDomain" />');
    document.write ('<param name="movie" value="' + url + '" />');
    document.write ('<param name="quality" value="high" />');
    document.write ('<param name="bgcolor" value="' + color + '" />');
    document.write ('<embed src="' + url + '" quality="high" width="' + width + '" height="' + height + '" bgcolor="' + color + '" name="SOredirect" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" SWLIVECONNECT=true pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write ('</object>');
}

Revision: 696
at August 30, 2006 12:06 by kanirasta


Updated Code
flash.js

function showFlash (url, width, height, color){
    document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="' + width + '" height="' + height + '" id="flash" align="middle" SWLIVECONNECT="true">');
    document.write ('<param name="allowScriptAccess" value="sameDomain" />');
    document.write ('<param name="movie" value="' + url + '" />');
    document.write ('<param name="quality" value="high" />');
    document.write ('<param name="bgcolor" value="' + color + '" />');
    document.write ('<embed src="' + url + '" quality="high" width="' + width + '" height="' + height + '" bgcolor="' + color + '" name="SOredirect" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" SWLIVECONNECT=true pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write ('</object>');
}

Revision: 695
at July 31, 2006 10:53 by kanirasta


Updated Code
flash.js

function showFlash (url, width, height){
    document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="' + width + '" height="' + height + '" id="flash" align="middle" SWLIVECONNECT="true">');
    document.write ('<param name="allowScriptAccess" value="sameDomain" />');
    document.write ('<param name="movie" value="' + url + '" />');
    document.write ('<param name="quality" value="high" />');
    document.write ('<param name="bgcolor" value="#FFFFFF" />');
    document.write ('<embed src="' + url + '" quality="high" width="' + width + '" height="' + height + '" bgcolor="#FFFFFF" name="SOredirect" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" SWLIVECONNECT=true pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write ('</object>');
}

Revision: 694
at July 31, 2006 10:51 by kanirasta


Initial Code
flash.js

function showFlashInterno (url, width, height){
    document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="' + width + '" height="' + height + '" id="flash" align="middle" SWLIVECONNECT="true">');
    document.write ('<param name="allowScriptAccess" value="sameDomain" />');
    document.write ('<param name="movie" value="' + url + '" />');
    document.write ('<param name="quality" value="high" />');
    document.write ('<param name="bgcolor" value="#FFFFFF" />');
    document.write ('<embed src="' + url + '" quality="high" width="' + width + '" height="' + height + '" bgcolor="#FFFFFF" name="SOredirect" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" SWLIVECONNECT=true pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write ('</object>');
}

Initial URL


Initial Description
guardar como flash.js

Initial Title
Rutina para poner flash en HTML

Initial Tags
html, flash

Initial Language
JavaScript