Forum Moderators: open

Message Too Old, No Replies

Trying to make a clickable Flash banner.

GetURL seems to be stuck in the on position.

         

Broadway

2:57 pm on Nov 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm trying to make a flash banner (swf) that my banner ad service (Burst) can show as a default banner when it has no paying banner to display. I want the banner to be clickable, so the clicker is forwarded to my site's home page.

I've created the banner. I've created a "button" that lies over the banner. What I am having trouble doing is assigning the appropriate action script to the button. Right now I have it set up as:

on (release) {
getURL("http://www.widgets.com");
}

This does work. When the banner is clicked the browser advances to the assigned URL (home page). That's fine. But if the visitor then clicks the browser's "back" button (so to return to the page where the clicked banner was showing) this action can't be completed. The browser does return to the original page, but then instantaneously forwards the visitor again back to the home page. Its like once the banner has been clicked its forwarding action is permanently activated.

Is that the way these banners are supposed to work?
Is there another command I should be using instead of "on release" which doesn't have this behavior?

Thanks.

oxbaker

9:08 pm on Nov 17, 2006 (gmt 0)

10+ Year Member



why dont you force it to open in a new browser?

on(release){
getUrl("http://www.thesite.com","_blank");
}

Broadway

11:19 pm on Nov 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Sounds like a good solution oxbaker. Thanks for the help.