| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
#1 |
|
Registered User
Join Date: Dec 2000
Posts: 10
|
hi!
I try now for hours to build a simple email-form for my flash-site. (my server doesn't support CGI or PHP or something, I think, and I don't have time to find out) I did it exactly as described in one of Macromedia's tutorials: I made two input-textfields, one named "varsubject" and one "varbody". then a button with following script attached: mailto:myadress@company.com?subject="&varsubject&" &body="&varbody however I never get anything into my email's subject or body? (and if I click "expression" everything is red/wrong too) ???? thanks a lot for any help!! |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Flash 5? That's flash 4 syntax. Use + in place of the &'s there.
Change that code to: "mailto:myadress@company.com?subject=" + varsubject + "&body=" + varbody My example here works: on (release) { emailAddy = "person@place.com"; getURL ("mailto:" + emailAddy +"?subject=Test&body=" + body); } Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| re-type email in form | adrock2005 | ActionScript 1.0 (and below) | 4 | 10-06-2006 04:04 AM |
| Sending form data to email | amit_chinchane | ActionScript 2.0 | 3 | 09-09-2006 10:04 PM |
| need help with action script to send from data | bleach20xx | ActionScript 1.0 (and below) | 1 | 04-26-2005 05:13 PM |
| email form using php trouble | lukeh1980 | ActionScript 2.0 | 0 | 09-17-2004 09:51 PM |
| getting data from input-form into email; what's wrong with my script? Thanks! | creamroyale | ActionScript 1.0 (and below) | 8 | 07-31-2001 05:14 AM |