R – clickTAG isn’t working


I made a banner ad and the site gave me this code to work with:

on (release) {
if (clickTAG.substr(0,5) == "http:" ) {

getURL(clickTAG, "_blank");

I made an invisible layer and put this code on it. The swf showed the hand, but when I clicked on the banner nothing happened, on my end or on the live site.

Then I used this code:


On my end it would open a blank page. On their end they got a 404 message.

Why is it not connecting to the server and opening the link? Is there something in my file that could be preventing either clickTAG from working?

I exported in Flash 9. I'm using a loop code. I have many layers and masks, but all are under the invis. layer.

Best Solution

For Flash 9, try the following instead of the code you are currently using:

on (release) {
  if (_root.clickTAG.substr(0,5) == "http:") {
    getURL(_root.clickTAG, "_blank");
Related Question