Professional :: How To Add ClickTag To Banner Ad
Mar 28, 2011I'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 RepliesI'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 RepliesI 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 RepliesCan someone migrate to AS3 this very very useful code? Especially for Banner makers...
[code]...
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".
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 RepliesNot really resolved, just giving up
View 2 RepliesSo 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?
I don't have access to the original Flash file [url]...
View 2 RepliesI'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.
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 RepliesI 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?
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....??
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.
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?
Can the clickTAG code in a flash banner be changed if you only have the .swf file and not the .fla file?
View 1 RepliesI am making a Flash ad for my company. I am a beginner/intermediate Flash user. I need to add a clickTag, which is done. The issue is that I want the button to "shimmer" when it is rolled over. I cannot figure out how to make this work with the clickTag having to be the topmost layer in the file.
This is what I have so far:
shinyButton.onRollOver = function() { this.glitter.play();};clicktag_but.onPress = function(){ getURL(_root.clickTAG, "_blank");};
[code].....
Is it possible to add a ClickTag for tracking purposes to dynamic text (hyperlink) in a scrollbar box in Flash CS5? I have ever only added a ClickTag to a button and/or banner before.
View 1 RepliesI have a banner ad that cycles back and forth between two ads, and am trying to set it up so that when the first ad is up (5 seconds or so) and the viewer clicks on it, it goes to one URL, and when it changes to the second ad and the viewer clicks, it takes them to a different URL.
View 5 Repliesid like to know the action script code i need to add a url to my flash banner,ive found this and it works,but i need it to open as a self window and not as a blank
digilink_btn.addEventListener(MouseEvent.CLICK, myButtonFunction1);function myButtonFunction1(event: MouseEvent) { var request:URLRequest = new URLRequest("http://www.digilink.gr/fullmoon/index.php?option=com_mtree&task=advsea rch"); navigateToURL(request);}
where abouts can i add the _self so it opens within the web page?
I'm trying to use a fla as a banner on my site. So far the best method I have is: export fla from flash as quicktime mov THEN use media encoder to convert mov to flv THEN insert the flv onto my site with dreamweaver. This works for me except when I try to view the site on an ipad, the animation doesn't run because flash player has to be loaded and that's not possible on an ipad.How can I make this banner viewable to someone on an Ipad as well as a regular PC?I'm thinking by somehow uploading the mov to the site (which I don't know how to do yet) and then having some kind of code or something that makes the mov play for ipad and the flv play for everyone else.
View 5 RepliesI'm pretty new to Flash, and having a few problems with a website I've had to design for my college ICT course.I built the site entirely in Flash, which went perfectly, then went on to build a scrolling image gallery banner for use on a gallery page of the site (assuming that it would be an easy task to chop the banner into the website).When I've tried importing the file to the stage/library it leaves all the images behind (as they are in the library of the first file) as well as the actionscript required to call the images; leaving me with just a new, blank layer.I've also tried copying the actionscript code into the website document and transferring the images from the gallery library to the website library, however, the gallery is written so that the stage is used in its entirety to show only a certain amount of images, meaning that the proportions of the banner are all wrong on the website file.Is there any way to integrate the flash file for the gallery into a confined area of the stage in the website document, or am I going to have to alter my designs so that the gallery goes entirely across the page (put up and shut up style).
Attatched are download links to the two files in question, sorry if they're a little on the large side.
[Code]...
I have a banner that I'm creating, it has 5 images that rotate via motion tweening. I've created an invisibile button (and also attempted to create multiple buttons) so that when you click on a specific image it will bring you to that URL. So far I have only gotten it to work for the final URL. No matter which image I click on, it only brings up that last URL. Here is my code:
btn1.addEventListener(MouseEvent.CLICK, buttonClickHandler1);function buttonClickHandler1(event:MouseEvent):void { navigateToURL(new URLRequest("http://www.google.com"));}
[Code]....
I am posting this because I purchased a package on FlashComponents.net, and spent 167 dollars on a set of flash components that were suppose to be easy to install and highly customizable. I messaged the creater of this package, snowcat, but he does not reply to my inquiries on why it does not work.
What I thought might be wrong was what I changed in the xml file, so I uploaded the entire folder from stock. the index.html page worked, however as soon as i copied the source code into my page I wanted to to actually play in. It does not even show, when I right-click the area in which it is suppose to be it says "Movie not loaded...".
I literally copied and pasted, there were no changes to the code whatsoever from the working one. After that I continued to try to arrange it the way I wanted it to be anyways, storing the source files in a folder of the site rather than having it in the root of the file. This folder is "index_banner" The developer DID have a posting about that issue on his website which I read four times to make sure that somehow that was not the culprit either.
Below is the code for the page; I am hoping I inadvertantly messed something up because then my 167 dollars is not wasted. But with the lack of support for a supposed "well documented" package it is a little disheartening.
[Code]...
I am currently using CS4 flash and have designed a banner. I cannot get a hyperlink to work when you click on the banner. I have tried multiple action scripts and have no idea.
View 1 RepliesI have a fla file template and the example sequence swf but the template only show a few of the images in the finshed preview even though all the images are present 12 bitmaps and 12 symbols.see why the images are not moving in the Banner .
View 1 RepliesI need to build something like a banner that shows two things. One is a picture coming in from the left or right side of the screen. The second is related text coming in from the left or right on the screen. I need to have it all controlled by an XML file that lets me specify the picture, direction the picture is coming from, text, and direction the text is coming in from.
View 1 RepliesDoes anyone know how to create a rotating flash banner for your wedding blog. I have a blogger photography blog but need a rotating flash banner. I know how to insert it but does anyone know of a generator that makes flash banners similar to these and made by prophotoblogs:
[URL]
I've a small problem with a banner. There's a part of text (made into a symbol) that has to jump out, so I made it 150% and the text around it moves away and then comes back. But the part that has to grow, does this in shocks. Does enyone now a way to prevend or mask this, so the client can be happy?
View 2 RepliesI exported a swf file of my animated Flash banner, and my one of my images (a PNF file I imported into my Library, and drug to my Stage) is larger than the stage area. When I expand the window of Flash Player of my swf file, I see the boundary area of my banner, but the rest of my image is visable outside of the banner area.Imagine just the tip of an iceberg is what I want within my banner, but the ENTIRE iceberg is visale beyond the set size of my stage...that's the best way I can explain it. Is this something to do with PNG files in Flash
View 4 RepliesNow with Flash Cs4 couldn't find the way to link the banner to other page. this is what i wrote on Actionscript:
inv_btn.onRelease = function() { getURL("http://www.sanpedrofashion.com/contactus.php" "self");}
AND GETTING THIS ERROR MESSAGE:
1084: syntax error: expection rightparen before self.