/ Published in: ActionScript 3
URL: http://www.webdesign29.net/
Create the button MovieClip and add its EventListener for click
Expand |
Embed | Plain Text
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters; var clickTAG:String = String(paramObj["clickTAG"]); box_mc.addEventListener( MouseEvent.CLICK, openBanner); function openBanner(event: MouseEvent) : void { flash.net.navigateToURL(new URLRequest( clickTAG ), "_blank"); } box_mc.useHandCursor = true;
You need to login to post a comment.
