ActionScript 2.0 :: Clicktag Not Working On Banner Ad?
Apr 14, 2010
I've done a banner ad for my client. The marketing company is kicking it back saying the clickTAG variable is not working. Below is the required code and specs. The attached Zip file has the ad. I'm a newbie to AS2, which is required for the ad.
Click Tags:All Flash banner ads are required to support the clickTAG variable. The clickTAG is the tracking code assigned by the publisher to an individual ad. It allows the publisher to register where the ad was displayed when it was clicked and helps ReachLocal evaluate the effectiveness of the banner creative.
On any click, Flash ads should redirect to the URL specified in the clickTAG argument; there should be no other redirection in between.The variable name must be reflected exactly as follows: clickTAG (upper-case TAG; no space between click and TAG; not click tag, Click Tag, or any other form).The Flash banner ad should contain the following code for the clickTAG parameter:
on (release) { if (clickTAG.substr(0,5) == "http:") { getURL(clickTAG, "_blank"); }
}
The above code should be copied and pasted into the banner ad�s code exactly
* as it appears above.The code should not specify the destination URL for the ad; this is a responsibility of ReachLocal.
*Additional Web Developer Information: Depending on the structure of your Flash ad, it may be necessary to prepend "_root." or "_level0." to the clickTAG above, resulting in "_root.clickTAG" or "_level0.clickTAG".
View 1 Replies
Similar Posts:
Mar 28, 2011
I've been asked to add clickTAG to a banner ad. I used ActionScript 3 and my research shows it only works with ActionScript 2. Is this true?
View 3 Replies
Oct 6, 2009
I am trying to make a banner ad that allows me to tracks stats / click thrus.I thought I could use clickTags, but i don't know if I can since I need to have the MY link embedded in the fla.
View 0 Replies
May 8, 2007
Can someone migrate to AS3 this very very useful code? Especially for Banner makers...
[code]...
View 14 Replies
Oct 6, 2009
I am trying to make a banner ad that allows me to tracks stats / click thrus.I thought I could use clickTags, but i don't know if I can since I need to have the MY link embedded in the fla.
View 1 Replies
Nov 23, 2009
Not really resolved, just giving up
View 2 Replies
Aug 19, 2009
So what i did is made a new layer called it Click Tag and put a button on it and made the button invisible, then i added this Action script to it
on (release) { if (clickTAG.substr(0, 5) == "http://www.ozarksfederal.com/") { getURL(clickTAG); }}
Ozarks Federal is the company advertising on the banner i made...and that's there websiteI think this is right but i don't know how to test if it is right?
View 2 Replies
May 23, 2011
I don't have access to the original Flash file [url]...
View 2 Replies
Sep 14, 2007
I'm having problems with the following code and need to merge the 2 following code together.
on(rollOver) {
getURL("javascript:expandCreative('ContainerDivID' );");
gotoAndStop(2);
} on(rollOut) {
getURL("javascript:collapseCreative('ContainerDivI D');");
gotoAndStop(1);
}
on (release) {
if (clickTag.substr(0,5) == "http:") {
getURL(clickTag, "_blank");
}}
Need the 2 following as above into one working code.
View 2 Replies
May 4, 2010
Is there a standard way to send variables through a banner ad? A client wants a banner that lets the user enter his mobile number, then receives a code by sms, and then enters the code into the banner. If the code then validates, the user is sent to a page with a login form with the phone number and code filled in. It must be possible to add the phone number and code as parameters to the clickTag somehow? I found that Adform supports using ";cppar=1&" and then variable=value pairs, but is this a standard, or a special feature of Adform?
View 1 Replies
Jan 11, 2009
I working on a flashbanner. It is a dynamic textfield called "regnr" where the user is supposed to add a registration number (of their car) before clicking the send button. This code is on the button:
Code:
on(release){
//getURL("[URL]"+regnr.text);
getURL(_root.clickTag+regnr.text,"_blank");
}}
It works when the domain is hardcoded but doesn't work when I am using the clickTag. Is it possible to add variables like this to a clickTag? How could this be done to actually work?
View 4 Replies
Sep 21, 2008
i am trying to get a 'clickTag' variable to work within a flash banner ad which i didn't make.. i have been assured that within the flash file the variable is being 'expected'.. i am using swfobject to pass in the clickTag variable..
[Code]...
the flash banner displays fine.. but there is 'clicking' element of it is not working.. ie. there is no link on the banner.. can anyone see any problems with the way i am doing this...? or.. is the problem definitely within the swf....??
View 1 Replies
Apr 23, 2010
I'm trying to find out if there is a way of using clickTag and Google Analytics to track outgoing banner clicks. clickTag code:
on (release) {
if (clickTAG.substr(0,5) == "http:") {
getURL(clickTAG);
}
}
Maybe someone can tell me whether the following would work:
on (release) {
if (clickTAG.substr(0,5) == "http:") {
getURL("javascript:pageTracker._trackPageview('/somebannerad');");
getURL(clickTAG);
}
}
like a solution that worked with the standard clickTag code and didn't involve changing any code in the flash file.
View 1 Replies
Apr 1, 2009
how to put the code into the HTML file to complete the clickTAG process for a banner ad.
I have put the following code onto the button (covers whole ad):
on (release) {
clickTAG = "http://" + clickTAG.slice(7);
if(clickTAG.substr(0,4)=="http") getURL(clickTAG,"_blank");
}
but I need to know what to do with the HTML doc....Is this how the ad goes to the intended location like a regular URL link would?
View 10 Replies
Oct 26, 2009
Can the clickTAG code in a flash banner be changed if you only have the .swf file and not the .fla file?
View 1 Replies
Sep 19, 2009
Getting clickTAG to work should be simple (using CS4 to generate AS2), On the top layer of my swf in frame 1, I placed an invisible box, made it a MC and called it transpBox_mc. In another layer of frame 1, I placed the following code:
transpBox_mc.onMouseUp = function():Void {
// with or without :Void it still doesn't work
if (_root.clickTAG.substr(0,4) == "http") {
getURL(_root.clickTAG, "_blank");
}}
// also tried this as a transparent button with an onRelease event
In the HTML, I placed a Param tag in the Object section:
<param name="flashvars" value="clickTAG=[URL]" />
And also placed the variable in the Embed section:
embed src="movie.swf?clickTAG=[URL]"
// also tried flashvars="clickTAG=[URL]"
In all cases, the movie plays fine, but the link doesn't work. I tried locally, on my server and also tried the tester at [URL] (though it isn't clear which part of the parameter to enter).
View 4 Replies
Jul 15, 2009
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");[code].........
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(release)
{getURL(clickTag,"_blank")}
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.
View 4 Replies
Dec 15, 2011
I have a weird problem,Flash banner is working "clickable" if the page url have preceding "www" and not working if not,So the if the URL in the address bar was [url]... the banner will be clickable and will redirect you to the link embedded in it, if the URL was [url]... the flash banner will not be working.
View 1 Replies
Aug 20, 2009
i have created some flash banners with a url embedded in them, so when they are placed on a web page the banner links through to my website when clicked. Fairly simple.But, i tested them on a website on my server to link to another website on the server and they worked fine. When i gave them to a client to embed on their own website (the flash files are hosted on my server still), the links no longer work.
Is this a security issue to stop the links working? i also checked it in linux and the banners worked, but in windows they do not. I dont want the client to have their own local copy of the flash file, as i may update it in the future and dont want to chase up lots of different copies everywhere.
View 3 Replies
Feb 10, 2011
I built a banner ad which works fine when I test it in flash. I then put it inside another flash movie in which it is loaded as an external swf ,my portfolio, and it it loads and only runs the 1st line of code animation and I can see the text that is waiting (outside the visual dimensions of the banner) I am also getting this error....what is going on?
[Code]...
View 3 Replies
Jan 24, 2011
I have a flash banner and i am using AS 2.0. The code embedded in the flash banner works with any url other that the one i am trying to embed.Here is the code i am using:
on (press)
{
getURL("https://wcc.webeventservices.com/eventRegistration/EventLobbyServlet?[code]....
Somehow flash does not like https links. It works fine with other links.
View 1 Replies
Jul 30, 2010
I am a graphic designer. I do not work with flash too much. I recently make a flash banner for my client but had a problem with linking the flash file to the url. I know actionscript 3.0 little.I used a movieclip (instance name: link_handler) over all content and set alpha to zero. That use this coding:[code]I used _self because i want to open the link to current window. If i use nothing it open in new tab/window. But this causing error when clicked and flash player shows this error.[code]you can see the page here. montana2you.bigcartel(.)com/ The banner is in the footer. (all url replaced by {url} )
View 4 Replies
Oct 13, 2011
We have a Flash banner on the home page and each slide has a link to some other page. Everything works fine, exept in IE.
Basically what happens is that if you click on the banner the first time, the link will work fine and bring you to the new page. However, if you go back to the home page again, then the banner does not even present a link anymore (it will still work fine as far as the banner rotation is concerned - just no more links)..
View 4 Replies
Mar 15, 2012
I'm trying create an expandable banner that when expands plays a video that has play, pause, mute buttons and a seek bar.
I've successfully created the video player and converted it to a symbol and it works when I copy it into other flash files so I know it's the banner that troublesome.
The problem is when I use it in the expanded part of the expandable banner I can't click on any of the buttons. I can see it's working as the video is playing and the seeker bar is moving. It's almost as if there's an invisible button over the top (the hand icon is visible) stopping me from hitting the buttons of the player.
The code for the expanding banner is very simple (see below)
on (rollOver) {
gotoAndStop(2);
}
on (rollOut) {
gotoAndStop(1);
}
View 3 Replies
Jul 21, 2011
Ok so we have a website at www. wsca .ie. This website has a flash banner along the bottom of the page but our problem is we have installed flash on our clients pc and updated his internet explorer but still the flash banner doesnt display. Also we have checked to make sure flash is enabled and it is so is there anything else we can do to get this to work?
View 1 Replies
Feb 24, 2010
I have a flash banner that references and XML file with an absolute link, whilst I test the banner locally it works fine but when I test it online it doesn't link to the xml file.
View 1 Replies
Oct 13, 2009
I am building a banner ad and I am using Flash CS4. I need it so when someone clicks the banner it takes them to the page in a new window. Its just a a simple URL and I keep getting syntax errors now and I dont know how to do this properly. I have tried these methods.
[Code]...
View 1 Replies
Sep 26, 2011
We are having problem with one certain Flash banner. We need to insert an active transparent button or to be completely correct we would need the clickTag as an active transparent button and the next function as follows:
on (release)
{
getURL (_level0.clickTag, "_blank")
}
We designed a banner with simple animation but the whole banner must be a clickable button with clickTag, so that our client can track the click and traffic.
View 1 Replies
May 15, 2009
I've got a movie clip which is the entire size of the stage and is activated on rollover and again on rollout to return to its original state. This works fine but now I need to add a clicktag over the top of the movie clip. The clicktag then disables the movie clip when published leaving it static.
View 1 Replies
Jan 14, 2010
I am just about to pull my hair out - please help as I don't have that much hair to pull out. I created a flash file in Flash CS3 and was told I need to add a click tag for an agency who want to keep track of the click throughs for the ad.
I have created the invisible button layer and set up the 'hit' and tried and tried and tried to select the button and add some action script to it. (which I have seen three different codes to use)
Each time I export it or publish it I get the error message: mouse events are permitted only for button insances on release. I have read and understand I need to assign the code to the button and not the frame but for the life of me, I cannot figure out how to do that.
I select the button (which I have converted to a 'button') and F9 or left click to get the Actions panel and once I am there and try to use the '+' to add code, it automatically shows 'Current Select/Frame 1 in the left side of the Actions panel. I get that it is adding the code to the frame but how do I get it to add the code to the button???
View 4 Replies