ClickTAG flash CS4/MX/CS3 action script (AS1, AS2)
VIDEO: how to put clickTAG in CS4 Flash version
Most common clickTAG version:
on (release) {
getURL (_root.clickTAG, “_blank”);
}
clickTag version:
on (release) {
getURL (_root.clickTag, “_blank”);
}
clicktag version:
on (release) {
getURL (_root.clicktag, “_blank”);
}
For advanced flash user:
_root prefix – because clickTAG is set in root level, using root you are safe in case you use button in other movieclip or level.
Always use on (release) - because on(press) will be blocked by browser
“_blank” - most requirements notes blank as default rule. If you have free of choice – use blank when ad is served on other site then landing page. But you can use “_self” if ad directs to same domain (inner ad-campaign)
5 Comments »
RSS feed for comments on this post. TrackBack URL

how to do it with action script 3?
Comment by janis — 2009/10/09 @ 2:58 pm
i’d also like to know how in action script 3 you
make this because have been searching a way to do it the entire day..
Comment by Mk — 2010/01/13 @ 12:36 pm
Good job! Nice tutorial!!
Comment by Gijs — 2010/01/19 @ 5:35 pm
Thank you very much! Great!
Comment by Tobbe Tapper — 2010/05/11 @ 10:02 am
Here’s the code for AS3:
var _url:String = “”;
if (LoaderInfo(root.loaderInfo).parameters.clickTag)
{ _url = LoaderInfo(root.loaderInfo).parameters.clickTag;
myButton.addEventListener(MouseEvent.MOUSE_UP, handleMouse); }
function handleMouse(event:MouseEvent):void
{ navigateToURL(new URLRequest(_url), “_blank”); }
I get it from http://www.genelu.com/content/view/98/#josc331
Comment by ESQ Magazine — 2010/05/22 @ 5:19 am