help with mailto: URGENT
This is what i have, and it works so far.
var sendfriend_btn:Button;
sendfriend_btn.onRelease = function()
{
getURL("mailto:you@somedomain.com (you@somedomain.com)");
};
How do i add a subject and some body text to this mail function???
should be an easy one for you guys.
Thanks,
Luke
getURL("mailto:you@somedomain.com?subject=" + escape("Subject title goes here") + "&body=" + escape("Body text goes here"));
You can also use:
getURL("mailto:you@somedomain.com?subject=" + escape("Subject title goes here") + "&body=" + escape(emailBody.text));
where emailBody is an instance of an input textfield in your movie that the user can fill in.
Although you can enter the text as creatify suggests, if you (or the user) plan on using any special characters in the subject or the body, you'll need to encode it otherwise the formula might break. The escape function will do the encoding for you.
thank you so much...
PS are you really in antarctica?
#If you have any other info about this subject , Please add it free.# |
