Saturday, March 27, 2010

Banner ad clickable?

Hello. I'm making a banner ad in Flash. I want it so that
anytime a user clicks anywhere it will launch a website. Do I have
to put a big invisible button over the whole stage, or is there a
better/easier way (using actionscript, maybe) to just code the
movie so that anytime anyone clicks anywhere, a getURL will
activate? Thanks!!!...

Banner ad clickable?
I'd just put the invisible button. It's fast and easy and
adds almost no extra file size to the SWF.Banner ad clickable?
Sounds good - thanks!


Your Flash version?



for AS2, just attach script below to 1st frame of your main
timeline:



onMouseDown = function(){

getURL(''your url here'');

}

No comments:

Post a Comment