action script
Código:
javascriptimport flash.external.ExternalInterface
this.boton.onPress = function()
{
ExternalInterface.call("cargadir","1");
}
this.boton1.onPress = function()
{
ExternalInterface.call("cargadir","2");
}
Código:
function cargadir(boton)
{
alert(boton);
switch(boton)
{
case "1":
direccion = "http://www.forosdelweb.com"
//window.open(direccion);
location.href= direccion
break;
case "2":
direccion = "http://www.google.com"
//window.open(direccion);
location.href= direccion
break;
}
}
por su ayuda muchas gracias


