I need someone to correct/revise/troubleshoot the Actionscript present in the following banner so that the clickTAG code works properly.
[login to view URL]
There are 6 buttons in this banner, each with it's own clickTAG form "clickTAG1" through "clickTAG6".
The admin contact sent me the following note about the above banner-
.............................................
Unfortunately, the file didn't work as expected. I believe the issue has to do with the clickTAG code in the action script. When I open the affiliate link code in a browser and try to navigate to one of the six final destination pages, the browser returns a 404 error. The interesting thing is that when I open the link in Avant, it tries to search for the ClickTAG, but it doesn't actually direct the user to the URL after the clickTAG variable. It's almost as though it's looking for an actual file rather than a command to redirect to another URL.
the problem might be on the method used to call the clicktag, as well as on the clicktag itself -
the method found on the instructions:
on (release) {
[clicktag code here]
};
is ActionScript 1, and it has been deprecated some time ago. the correct method is actually a function, and it goes like this:
[login to view URL] =function {
[clicktag code here]
};
.. which is the standard method we use.
as for the clicktag, the one I was using:
getURL([login to view URL], "_bank");
is different from theirs too:
if ([login to view URL](0,5) == "http:") {
getURL(clickTAG);
}
so the complete clicktag code should be:
[login to view URL] =function {
if ([login to view URL](0,5) == "http:") {
getURL(clickTAG);
}
};
............................................................................
As suggested above, I changed the code accordingly only to find that the button links were no longer even active. At this point I am at a lose as to what to do.
In a nutshell: I will provide the FLA source file for the banner seen at the link above and you will correct/revise/troubleshoot the Actionscript so that the six buttons in the banner each has a properly functioning clickTAG (clickTAG1-6) and explain afterwards what was done.
Thanks so much.