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

Mailto: Equivalent?

Status
Not open for further replies.

NevG

Programmer
Oct 10, 2000
162
GB
Hi Could someone please explain to a virtual novice how I can put a mail link on the flash movie to let people clikc and then the mail program wil popup. Similar to the mailto in HTML

Thanks of rnay help

Nev G
 
It's virtually the same thing in Flash. Try something like this attached to a button...

on(release){
getURL("mailto:whoever@wherever.com",_blank,"GET");
}


this opens up the user's mail application. If you want to be really helpful you can fill in the subject line to save the user having to type. Just append the subject to the mailto string like this...

"mailto:whoever@wherever.com&subject=whatever"

"whatever" pops up in the subject line.

You can also use the loadVariables command to do this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top