View Full Version : e-mail

06-07-2003, 09:10 AM

I wanna ask how could i insert some hyperlink for Email in flash?
Is this some actionscript or somethink else?


Have i nice day

Mortimer Jazz
06-07-2003, 11:10 AM
For a hyperlink the easiest way is to make some static text that says, for example, [email protected] and then, if you select the textbox and look in your property inspector panel (below the font dropdown) you will see a long input box with a link symbol to the left of it. Inside this put: mailto:[email protected]

This will mean anyone using an email client such as outlook or outlook-express ,etc, can click on the link and send you an email.

For a more dynamic solution you can use "asfunction" inside an html box. There is a tutorial in the tutes section, or if you need further explanation just ask.

You can also assign a subject. Just for variety, I've put this on an "email me" button.

getUrl("mailto:[email protected]&subject=hello mum");

Hope this helps :)

06-07-2003, 12:34 PM
Thank you.

I have one more question:

How about E-mail form. You have send me actionscript for button. Now i wanna create e- mail form like this:

Name: ___________

Subject: ____________

E-mail: ___________________

Coment: __________________

Send Reset

Cann you tell me actionscript for that?

Thank you

Have i nice day

Mortimer Jazz
06-07-2003, 12:53 PM
Ah, you will need a server-side language to do that (meaning you will also need a host that allows you to run the scripts).
Perl, ASP, PHP etc

If it's something you want to learn for yourself then php/mySQL is a very popular choice.
Check out the tutorials section. I believe there is a pre-made mail script in one of the tutorials :)

06-08-2003, 07:22 AM
Thanks for this tip i found this form in tutorials. But this form doesnt work. Can you check out what can be there wrong, and tell me what must i change?

Thank you

Have a nice day

Mortimer Jazz
06-08-2003, 07:58 AM
You need php running on the site you're uploading it to for it to work.
Basic website-hosting packages don't include this. It is an additional service you will have to purchase.
If you are sure you have purchased webspace with php support, and you still can't get it to work let me know.

If by now you're thinking "what is he on about?" then search the forums for "php". The scripting and backend forum should have enough information to get you started.

06-08-2003, 08:38 AM
Originally posted by Mortimer Jazz
getUrl("mailto:[email protected]&subject=hello mum"); }
Hope this helps :)
Mort it's getURL not getUrl

Mortimer Jazz
06-08-2003, 09:47 AM
*shakes fist at faffy*
lol. indeed you have