on (release) {
if (clickTAG.substr(0,5) == “http:”) {
getURL(clickTAG, “_blank”);
}
}
What are the requirements for Flash ads?
Flash is a plug-in for web browsers that allows animation to be added to web page components, including AdWords ads. Flash advertising is allowed for all AdWords advertisers, with some technical restrictions.
Flash ads must be 50K or smaller in size, use Flash versions 4 – 10, and be compiled from ActionScript 3 sources. All Flash ads should support the clickTAG variable.
The clickTAG is the tracking code assigned by Google to an individual ad. It allows Google to register where the ad was displayed when it was clicked, and helps advertisers determine the effectiveness of their campaign. 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 spelled “clickTAG” (upper-case TAG; no space between click and TAG) and not “click tag,” “Click Tag,” or any other form. This is the proper code for the clickTAG parameter:
on (release) {
getURL(clickTAG, “_blank”);
}
if(clickTAG==null){
clickTAG=”http://www.prosoxi.gr/”;
}
on (release) {
if (clickTAG.substr(0,5) == “http:”) {
getURL(clickTAG, “_blank”);
}
}
/////////////btn code with inst name ‘inv_btn’
on (release) {
if (clickTAG.substr(0,5) == “http:”) {
getURL(clickTAG,”_blank”);
}
}
////////////frame code
inv_btn.onRelease = function() {
getURL(“http://www.gogosentertainment.com.au”, “_blank”);
};
substr(0,5) == “http:”
won’t work if address starts with https: