Por ejemplo. Si pongo esto....
boton_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick (e:Event):void
{
navigateToURL (new URLRequest ("index.swf"),"_self");
}
Funcionaría perfectamente.
Pero si pongo esto....
boton_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick (e:Event):void
{
navigateToURL (new URLRequest ("http://www.davidlopezgamero.com"),"_self");
}
El botón no haría absolutamente nada. Cual es el problema? hay solución?