homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Advertisement not clicking through correctly
OPens in both new window AND iFrame ...

10+ Year Member

Msg#: 868 posted 5:51 pm on Jun 6, 2006 (gmt 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



5+ Year Member

Msg#: 868 posted 4:44 pm on Jun 7, 2006 (gmt 0)


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

should do it.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved