Return to Snippet

Revision: 15905
at July 21, 2009 02:52 by hotdiggity


Initial Code
clickTag_bn.addEventListener(MouseEvent.CLICK, onMouseClick);
function onMouseClick(event:MouseEvent):void {
            navigateToURL(new URLRequest(clickTag), “_blank”); 
}

Initial URL


Initial Description
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:

Initial Title
clickTag using ActionScript 3

Initial Tags
actionscript, flash, 3

Initial Language
ActionScript 3