![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/11/2005, 21:31
|
![Avatar de programeitor](http://static.forosdelweb.com/customavatars/avatar89543_1.gif) | | | Fecha de Ingreso: febrero-2005
Mensajes: 994
Antigüedad: 20 años Puntos: 9 | |
utiliza <embed> ,<bgsound> solo funciona en Ie.
para lo que quieres, puedes capturar el evento onload del swf o setTimeout() y realizar una funcion que meta el <embed> al body.
Si tienes el swf en un <object> o <embed> podria funcionar:
document.embeds.nombre.onload=function(){
document.createElement("<embed src=archivo.mid>");
document.appendChild(x)
}
sino
document.onload=function(){
setTimeout('var x=document.createElement("<embed src=archivo.mid> ");document.appendChild(x)',tiempo en ms)
} |