Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/03/2005, 06:59
Avatar de CREW
CREW
 
Fecha de Ingreso: diciembre-2004
Ubicación: Mi Casa
Mensajes: 793
Antigüedad: 19 años, 4 meses
Puntos: 0
Aqui estan los códigos, por si los quieres:

Este debe ir por supuesto en el boton de tu pelicula:

on (release) {
getURL("javascript:openNewWindow('Pedrigree_tonka. html','thewin','height=400,width=600,toolbar=no,sc rollbars=no',w=600,h=400)");
}

Pedrigree_tonka.html = nombre de tu popup...

Este código debe ir en el html, donde se carga tu swf:

<SCRIPT LANGUAGE=JavaScript>
function openNewWindow(URLtoOpen, windowName, windowFeatures,w,h) {
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
caracteristicas=windowFeatures+',top='+TopPosition +',left='+LeftPosition;
newWindow=window.open(URLtoOpen, windowName, caracteristicas);
}
</SCRIPT>

Este popup, te saldria centradao en el browser, si lo deseas en otra posición, deberias jugar con las cordenadas:LeftPosition y TopPosition

Bueno espero que te sirva y si no es asi, disculpa hice lo que pude...(Soy un aprendiz todavia)...