/ Published in: ActionScript 3
Expand |
Embed | Plain Text
mc.addEventListener(MouseEvent.CLICK, callLink); function callLink():void { var url:String = "http://www.google.com"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request, '_blank'); } catch (e:Error) { trace("Error occurred!"); } }
You need to login to post a comment.
