import flash.net.*; import flash.events.*; var boton:Sprite = new Sprite(); boton.graphics.beginFill(0xFF0000); boton.graphics.drawRect(0,0,200,60); boton.graphics.endFill(); boton.addEventListener(MouseEvent.CLICK,function (e:Event){; navigateToURL(new URLRequest("http://google.es"),"_blank"); }); addChild(boton);