Created
January 27, 2013 14:33
-
-
Save xtrasmal/4648608 to your computer and use it in GitHub Desktop.
AS3 Clicktag Flashvar. Making a commercial banner with ClickTag. usage create a flashvar named ClickTag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Xander Smalbil */ | |
var paramList:Object=this.root.loaderInfo.parameters; | |
clickme.addEventListener(MouseEvent.CLICK, openURL); | |
function openURL(evtObj:MouseEvent):void | |
{ | |
var request:URLRequest = new URLRequest(paramList["ClickTag"]); | |
navigateToURL(request, "_blank"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment