使用ActionScript 3单击标记
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用ActionScript 3单击标记相关的知识,希望对你有一定的参考价值。
1. Create button that covers the entire ad.2. Create an instance of the button on the main timeline and name it "clickTag_bn" in the properties palette.
3. On a new layer add ActionScript to the timeline as follows:
clickTag_bn.addEventListener(MouseEvent.CLICK, onMouseClick); function onMouseClick(event:MouseEvent):void { navigateToURL(new URLRequest(clickTag), “_blankâ€); }
以上是关于使用ActionScript 3单击标记的主要内容,如果未能解决你的问题,请参考以下文章