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

adding href code to my flash movie

Status
Not open for further replies.

kathyc20

Programmer
Mar 7, 2001
96
CA
I'm just a newbie, so don't get mad at me, but I've
created a small flash file and I need to have the
whole thing become a link that if you click on it
you will go to a certain page, and I have no idea
how to do this.

Can someone please help me.
 
If you're talking of the whole of the Flash movie itself that should be the link, then you could use an invisible button over the whole stage area, and add somewhat the same code Bill suggested but as it stands here with the correct syntax...
Code:
on(release){
    getURL("[URL unfurl="true"]http://www.yahoo.com/",[/URL] "_blank");
}

If you want the linked page to open up in the same browser window rather than in a new one, use "_self" rather than "_blank".


Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top