Comunidad de diseño web y desarrollo en internet online

Instalar el "Flash Player Detection Kit"

Citar            
MensajeEscrito el 31 Mar 2008 01:50 pm
Hola encontré este tutorial para intalar el kit

http://www.cristalab.com/tips/21428/instalacion-del-flash-player-detection-kit

pero no se como hacerlo si mi archivo.php tiene mas de un swf.

Me he quedado en estas indicaciones :

Abre el playerProductInstall.html y cambia lo siguiente:

Código :

var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="TUANCHO" height="TUALTO"'
+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="TUARCHIVO.SWF" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" />'
+ '<embed src="TUARCHIVO.SWF" quality="high" bgcolor="#FFFFFF" '
+ 'width="TUANCHO" height="TUALTO" name="detectiontest" aligh="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';






debo colocar el algo y ancho de mi swf. ??pero como hago si tengo mas de una swf embed en miarchivo.php??

alguna ayuda por favor

gracias

Código :

					

Por chefnelone

41 de clabLevel



Genero:Masculino  

safari
Citar            
MensajeEscrito el 01 Abr 2008 06:24 am
nadie me puede ayudar?

Por chefnelone

41 de clabLevel



Genero:Masculino  

safari
Citar            
MensajeEscrito el 01 Abr 2008 02:40 pm
Hola
metes en "oeTags" en una función y le envias por parametro el ancho y el alto...

Código :

verFlash(TUARCHIVOSWF, TUALTO,TUANCHO){
var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="'+TUANCHO+'" height="'+TUALTO+'"'
+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="'+TUARCHIVOSWF+'" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" />'
+ '<embed src="'+TUARCHIVOSWF+'" quality="high" bgcolor="#FFFFFF" '
+ 'width="'+TUANCHO+'" height="'+TUALTO+'" name="detectiontest" aligh="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';
}
...
verFlash(archivo1.swf, "770","562");
...
verFlash(archivo2.swf, "770","200");


saludos

Por scx7

336 de clabLevel

2 tutoriales

Genero:Masculino  

Ecuador - Santo Domingo

firefox
Citar            
MensajeEscrito el 02 Abr 2008 06:37 pm
gracias scx7
ya está funcionando

Por chefnelone

41 de clabLevel



Genero:Masculino  

safari
Citar            
MensajeEscrito el 07 Abr 2008 05:39 am
La idea es q solo tengas un swl para detectar e instalar la ultima versión de flash. Seria mejor cargar el detector antes de ingresar a la pagina principal. Si no, podrían aparecer dos peticiones de actualización de flash en cada swf de tu pagina principal.
Por cierto, este kit solo funciona si el usuario tiene instalado Flash Player 6 o superior.

Por dzegarra

14 de clabLevel



Genero:Masculino  

Lima, Peru

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.