Blank Page in IE and FF

1 view
Skip to first unread message

nEto

unread,
Nov 10, 2009, 10:50:43 AM11/10/09
to SWFObject
Hi, I have a problem. When I try use SWFObjet. I click in a image to
call a function that create swfobjet but the swfobjet show only the
flash and all page is delete. Can you see it in action at:

http://portalecuador.ec/module-Musica.php

1. Click on play buton (green)
2. Only show the flash and all page is delete.

Can you help me?

Thanks

Sam Sherlock

unread,
Nov 10, 2009, 12:56:17 PM11/10/09
to swfo...@googlegroups.com
update this code to use swfobject 2 and specifically use createSwf



function writeSwf(url, multimedia, idDiv, ancho, alto, duracion, artista, cancion)
{
	//Elimino reproductores anteriores
  	if(lastDiv != ''){removeElement(lastDiv);}
  	lastDiv = idDiv;
	//Inserto nuevo reproductor - this code is swfobject 1.x => swfobject 2.x
	var so = new SWFObject(url, proyector, ancho, alto, "9", "#FFFFFF");
	so.addVariable("multimedia", multimedia);
	so.addVariable("duracion", duracion);
	so.addVariable("artista", artista);
	so.addVariable("cancion", cancion);
	so.useExpressInstall(urlInstall);
	so.addParam("wmode", "transparent");
	so.write(idDiv);
}
- S




2009/11/10 nEto <port...@undermedia.com.ec>

nEto

unread,
Nov 11, 2009, 9:14:19 AM11/11/09
to SWFObject
Thanks! now it works fine

On 10 nov, 12:56, Sam Sherlock <sam.sherl...@gmail.com> wrote:
> update this code to use swfobject 2 and specifically use createSwf
>
> function writeSwf(url, multimedia, idDiv, ancho, alto, duracion,
> artista, cancion)
> {
>         //Elimino reproductores anteriores
>         if(lastDiv != ''){removeElement(lastDiv);}
>         lastDiv = idDiv;
>         //Inserto nuevo reproductor - this code is swfobject 1.x => swfobject 2.x
>         var so = new SWFObject(url, proyector, ancho, alto, "9", "#FFFFFF");
>         so.addVariable("multimedia", multimedia);
>         so.addVariable("duracion", duracion);
>         so.addVariable("artista", artista);
>         so.addVariable("cancion", cancion);
>         so.useExpressInstall(urlInstall);
>         so.addParam("wmode", "transparent");
>         so.write(idDiv);
>
> }
>
> - S
>
> 2009/11/10 nEto <porta...@undermedia.com.ec>
Reply all
Reply to author
Forward
0 new messages