Código Javascript
:
Ver originalform.si.addEventListener(MouseEvent.CLICK, pasar);
function pasar(e:MouseEvent):void {
var req:URLRequest=new URLRequest("http://www.piscocontrolc.cl/esp");
navigateToURL(req, "_self");
}
form.yes.addEventListener(MouseEvent.CLICK, goon);
function goon(e:MouseEvent):void {
var req:URLRequest=new URLRequest("http://www.piscocontrolc.cl/eng");
navigateToURL(req, "_self");
}
form.no.addEventListener(MouseEvent.CLICK, nopasa);
function nopasa(e:MouseEvent):void {
var req:URLRequest=new URLRequest("http://www.ccu.cl/portal/contenido.asp?CodCanal=173&TipoCanal=A");
navigateToURL(req, "_self");
}
form.no1.addEventListener(MouseEvent.CLICK, nopasa);
Código Javascript
:
Ver originalingles.addEventListener(MouseEvent.CLICK, eng);
function eng(e:MouseEvent):void {
navigateToURL(new URLRequest("http://www.piscocontrolc.cl/eng/"),"_self");
}
home.addEventListener(MouseEvent.CLICK, gohome);
function gohome (e:MouseEvent):void {
navigateToURL(new URLRequest("http://www.piscocontrolc.cl/"),"_self");
}
eso es principalmente.. en todos hago lo mismo.