Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Links to flash banner ads

Status
Not open for further replies.

supamags

Programmer
Jul 8, 2003
35
GB
So I have created my nice flash banner ad but when i load it into dreamweaver it obviously needs a link on the banner to go to another site... I have been told i need to do this in flash.... please someone tell me how.

Thanks
bruce.
 
One way is to add an invisible button (only the hit area is defined) on the top layer of your banner, covering the whole (or less) of your banner's area.
Then simply add a getUrl action to this button...
Code:
on(release){
    getURL("[URL unfurl="true"]http://www.yourserver.com/your.html",[/URL] "_blank");
}

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top