como hacer play a flash desde javascript?
Tengo esta funcion, pero no me funciona en firefox ni en explorer para mac, muchas gracias por cualquier ayuda
function cambiarFlash (nombre){
if (document.all) {
document.flashID.movie=nombre;
document.flashID.Play();
} else {
document.getElementById("flashID").movie=nombre;
flashM = document.getElementById("flashID")
//alert ("- "+flashM);
window["flashID"].Play();
}
}
function cambiarFlash (nombre){
if (document.all) {
document.flashID.movie=nombre;
document.flashID.Play();
} else {
document.getElementById("flashID").movie=nombre;
flashM = document.getElementById("flashID")
//alert ("- "+flashM);
window["flashID"].Play();
}
}