Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Advertisement not clicking through correctly

OPens in both new window AND iFrame ...

5:51 pm on Jun 6, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 3, 2004
votes: 0


I am wondering if anyone has had this problem in the past. We are using a 3rd party vendor for our ad tracking - impressions, clickthroughs etc... This 3rd party loads the ads to the pages using iFrames. Pretty much we create a hole, they fill it. So here's the problem:

When I build and load a Flash ad onto the page, the clickthrough does not work correctly. IT will open the clickthrough website in a new window which is what is expected, but it also loads the clickthrough website into the iframe. You can imagine how dorky this looks ... especially to the advertiser. Here is what I place as far as my ActionScripting:

on (release) {

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

I appreciate any info/input you may have on this matter!

-- Zak

4:44 pm on June 7, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:May 11, 2006
votes: 0


getUrl(clickTAG) with
getUrl(clickTAG, "_blank");

should do it.