 
			
				14/07/2008, 04:14
			
			
			     |  
      |    |    |    Fecha de Ingreso: abril-2008  
						Mensajes: 613
					  Antigüedad: 17 años, 6 meses Puntos: 22     |        |  
  |      Respuesta: Abrir popup con un tamaño especifico        Hola,   
en el HTML donde tienes tu SWF pones la siguiente función JAVASCRIPT:   
function ABwin(ventan,ancho,alto,nombre){ 
 	pantallax=screen.width 
	pantallay=screen.height 
	ancho2=pantallax-ancho 
	alto2=pantallay-alto	 
	izq=parseInt(ancho2/2) 
	arr=parseInt(alto2/2) 
	ventana=open(ventan,nombre,'width='+ancho+',height  ='+alto+',left='+izq+',top='+arr+''); 
	ventana.focus() 
}   
En el botón de FLASH pones:   
on(press){ 
getURL("javascript:ABwin('tupagina.htm',300,300,'e  lnombre')"); 
}   
Donde "tupagina.htm" es el documento que se abrirá y "tunombre' es libre, es un identificador para tu ventana. El popup se abrirá centrado en pantalla.   
Saludos              |