/ Published in: ActionScript 3
- Create button that covers the entire ad.
- Create an instance of the button on the main timeline and name it "clickTag_bn" in the properties palette.
- On a new layer add ActionScript to the timeline as follows:
Expand |
Embed | Plain Text
clickTag_bn.addEventListener(MouseEvent.CLICK, onMouseClick); function onMouseClick(event:MouseEvent):void { navigateToURL(new URLRequest(clickTag), “_blank”); }
You need to login to post a comment.
