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 <[email protected]>

>
> 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
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to