Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/11/2007, 17:31
Avatar de Potro
Potro
 
Fecha de Ingreso: abril-2001
Mensajes: 2.249
Antigüedad: 23 años
Puntos: 39
Re: Llamar Javascript con Flash

Te pongo aqui un ejemplo de como puedes abrir un pop con un boton en flash:::

en el boton pon:::


on (press) {
getURL("javascript:openNewWindow('http://www.zetak.com','sitemio','height=200,width=300,too lbar=no,scrollbars=no')");
}


**********************

y en tu html pones el siguiente codigo::: ente las etiquetas <head>

<script language="JavaScript">
<!--
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }

function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
//-->
</script>


Saludos....