Web Hosting Talk







View Full Version : How to Add ClickTag to Flash banner


roacha
08-27-2008, 12:19 PM
Hey guys,

I am trying to signup with Google Adwords and want to use one of my current flash banner ads. When I try and upload the file it tells me that I need to add a ClickTAG to the flash ad.

I had a friend develop these ads for me, do I need to install a flash editor like Swishmax. And then just add the code in the right place? I only need to edit the .swf file correct?

Thanks

Bannaz
08-27-2008, 01:23 PM
You will need Flash to insert a clicktag onto your banner. :)

This is the actionscript you need

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

roacha
08-27-2008, 01:40 PM
Thanks Bannaz,

Do I edit the .swf file or the original .fla file?

Is Swishmax the best/easiest tool to use or is there another good option for editing Flash files? Macromedia?

Bannaz
08-27-2008, 01:54 PM
You will need to edit the .fla file and add a button with the above actionscript.

It is possible to do this with a .swf too, but more tricky. :)