Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

clicktag confusion it is not using any target website .

Contributor ,
Aug 30, 2015 Aug 30, 2015

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

TOPICS
ActionScript
248
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 30, 2015 Aug 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 30, 2015 Aug 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');

}

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 30, 2015 Aug 30, 2015
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines