Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/10/2005, 13:25
Avatar de pituu2
pituu2
 
Fecha de Ingreso: abril-2004
Ubicación: paraná entre rios
Mensajes: 274
Antigüedad: 20 años
Puntos: 0
revisen este codigo Please

lo saque se de este foro pero hace ya un tiempo ahora lo nesecito y no me funciona es para abriri una ventana popup directamente desde falsh sintener que poner ningun codigo en el htm. por favor si alguien me puede alludar.

en el primer frame

function make(ancho, alto, url, winName) {
var winName = (winName == undefined) ? "PopUp" : winName;
var carac = "width="+ancho+",height="+alto+",";
carac += "toolbar=0,scrollbars=0,location=0,statusbar=0,men u bar=0,resizable=0";
getURL("javascript:void(window.open('"+url+"','"+w inName+"','"+carac+"'));");
}
function makeCenter(ancho, alto, url, winName) {
var winName = (winName == undefined) ? "PopUp" : winName;
var left = (System.capabilities.screenResolutionX-ancho)/2;
var top = (System.capabilities.screenResolutionY-alto)/2;
var carac = "width="+ancho+",height="+alto+",";
carac += "toolbar=0,scrollbars=0,location=0,statusbar=0,men u bar=0,resizable=0,";
carac += "top="+top+",left="+left;
getURL("javascript:void(window.open('"+url+"','"+w inName+"','"+carac+"'));");
}


mi_btn.onRelease = function() {
makeCenter(550, 420, "http://www.gottesa.com/flash
/animaciones.php", "miPop");
}

saludos
__________________
pituu2