Wednesday, November 5, 2008

Simple AS3 Button Click

visit_btn.addEventListener(MouseEvent.CLICK, visit);
function visit(e:MouseEvent):void {
var request:URLRequest=new URLRequest("http://www.thrillbilliestrailer.com");
navigateToURL(request, "_self");
}

No comments: