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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linking swf's

Status
Not open for further replies.

catalystunderx

Programmer
May 17, 2003
13
GB
once i have embeded an swf into am html page, how to i get it to link to another page on click?

the swf has a rollover, and down click state assigned
 
are you trying to link the entire swf, or a button within it? if you're linking a button:

Code:
on (press) {
   getURL("yourURLhere","_blank");
}

(or _self to open in the same window as the swf). If you're linking the whole swf, you should be able to just put an invisible button on the whole thing in whichever frame you want to enable the link.

good luck!

tigerjade :)

"Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live." -- Martin Golding


 
Code:
on(release){
getURL("[URL unfurl="true"]http://www.google.com/",[/URL] "_self");
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top