Foros del Web » Creando para Internet » Flash y Actionscript »

jpg en ves de swf

Estas en el tema de jpg en ves de swf en el foro de Flash y Actionscript en Foros del Web. Saludos a todos, es posible que si alguien no tiene flash player como alternativa que en el lugar donde se carga el swf aparezca un ...
  #1 (permalink)  
Antiguo 16/09/2006, 15:13
Avatar de Pablus00  
Fecha de Ingreso: diciembre-2003
Ubicación: A un click de distancia
Mensajes: 1.044
Antigüedad: 20 años, 4 meses
Puntos: 11
jpg en ves de swf

Saludos a todos, es posible que si alguien no tiene flash player como alternativa que en el lugar donde se carga el swf aparezca un jpg? Gracias!
__________________
-- Nunca te des por vencido, aún vencido -- Web
  #2 (permalink)  
Antiguo 16/09/2006, 17:36
 
Fecha de Ingreso: septiembre-2004
Ubicación: Cordoba
Mensajes: 70
Antigüedad: 19 años, 7 meses
Puntos: 0
Si es posible, te haces un script que detecte si tiene Flash player instalado sino lo tiene, que se redireccione a una pagina Alternativa, si Utilizas Dreamweaver es muy sencillo de hacerlo. saludos
Aca te dejo un Ejemplo del Codigo:
Código HTML:
<script type="text/JavaScript">
<!--
function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}
//-->
</script>
</head>

<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="720" height="494" title="hfg" onfocus="MM_checkPlugin('Shockwave Flash','','paginadondevaeljpg.htm',false);return document.MM_returnValue">
  <param name="movie" value="archivo.swf" />
  <param name="quality" value="high" />
  <embed src="archivo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="720" height="494"></embed>
</object>
</body>
<script name="Used by MM_checkPlugin" language="javascript">
<!--
with (navigator) if (appName.indexOf('Microsoft')!=-1 && appVersion.indexOf('Mac')==-1) document.write(''+
'<scr'+'ipt language="VBScript">\nOn error resume next\n'+
'MM_dir = IsObject(CreateObject("SWCtl.SWCtl.1"))\n'+
'MM_flash = NOT IsNull(CreateObject("ShockwaveFlash.ShockwaveFlash"))\n</scr'+'ipt>');
//-->
</script> 
__________________
HACER LA GUERRA PARA DEFENDER LA PAZ, ES COMO HACER UNA ORGIA PARA DEFENDER LA VIRGINIDAD

Última edición por ELLUIFA; 16/09/2006 a las 17:58
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:18.