PDA

View Full Version : making a flash banner ad a link



wzphoto
January 19th, 2007, 04:27 PM
What is the easiest way to make a flash banner ad a clickable link? I need to embed a flash file in an html page in such a way as the user can click anywhere on the flash movie to go to another page. I don't want a popup window, and the page needs to be XHTML 1.0 compliant.

jcwilde1
January 22nd, 2007, 04:48 PM
In flash, create a layer, make a button that has the hit area of the whole stage and have it be a link ie. on(release) .... getURL("yourwebsite.html"

As long as you don't put anything visible in the other frames of the button you should be good.