Skip to main content
Inspiring
August 30, 2015
Question

clicktag confusion it is not using any target website .

  • August 30, 2015
  • 1 reply
  • 264 views

suppose we are using clicktag

on (release) { getURL(_root.clickTAG, '_blank'); }

we are not using any target website . so where it is going ? is that for dynamic destination . what is the magic of clicktag. ? it seems to be strange

This topic has been closed for replies.

1 reply

kglad
Community Expert
August 30, 2015

that's as2 and your posting on an as3 forum.

so, the first thing you need to do is find out if you're supposed to be using as2 or as3.

Inspiring
August 30, 2015

As3 clicktag is not using any target website as well.  So what is the difference of all the banners. Everybody is using same clicktag . No URL . Strange .

I think the landing page linking is done in adwords or some providers when sign up

import flash.events.MouseEvent;

import flash.net.URLRequest;

import flash.net.navigateToURL;

click_btn.addEventListener(MouseEvent.MOUSE_UP, onClick);

function onClick(e:MouseEvent):void {

var click_url:String = root.loaderInfo.parameters.clickTAG;

if(click_url) {

  navigateToURL(new URLRequest(click_url), '_blank');

}

}

kglad
Community Expert
August 30, 2015

that's as3 code and it should work when your swf is embedded in a page that contains a definition for clickTAG.