Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Server-Side Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-14-2001, 12:28 AM   #1
creamroyale
Registered User
 
Join Date: Dec 2000
Posts: 10
Default

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!!

creamroyale is offline   Reply With Quote
Old 02-14-2001, 02:25 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 09:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.