Google click tag

//The Actionscript2 Part

on (release) {

getURL(clickTAG, "_blank");

//The Actionscript3 Version (This does not work for google, use the Actionscript2 version above)

var paramList:Object = this.root.loaderInfo.parameters;

buttonOverlay.addEventListener(MouseEvent.CLICK, openURL);

function openURL(evtObj:MouseEvent):void {
var request:URLRequest = new URLRequest(paramList["clickTAG"]);
navigateToURL(request, "_blank");

//The HTML part

<object type="application/x-shockwave-flash" data="" width="728" height="90">
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="" />
<param name="expressinstall" value="scripts/expressInstall.swf" />
<param name="movie" value="" />


You must be logged in to post a comment.

  1. No idea, I have not done any click tag work since this snippet was posted. Check out Google help on the subject, I think that's where I figured it out in the first place. Good Luck!

  2. What if I have 2 clicktags in one ad, for example

    clicktag1 and clicktag2

    how do I create a html for that.