View Full Version : Creating a link within a text variable in Flash

05-31-2004, 10:49 AM
Hi folks!

I'm just trying to figure out how to create a link (e-mail and URL) within a text variable in Flash MX. I can't seem to find it withing my school notes. Can anyone help me out?

Thanks! :confused:

06-06-2004, 04:14 AM
I don't quite understand your question.

Do you mean sending a form as in posting an email and variable through Flash to your server?

Or adding an email link within Flash?

If its the later here's the basic Actionscript for that:

// attach to button
on (release) {

or you can pass a variable to the getURL mailto action to add an email subject:

on (release) {
EmailSubjectVar = "This%20Emails%20Subject%20Is";
getURL("mailto:someone@somedomain.com?subject=" + EmailSubjectVar);

06-08-2004, 12:10 PM
Ok, I'll try that and thanks! :)