This content has been marked as final. Show 15 replies
I don't normally do it in Flash - I use a pop-up window that opens an html form and do it that way...
But it would be good to see if and how it can be done - I am sure it can be but how easily I don't know...
yeah i'm the same, i used html for all my other contact us pages.
but i want make a FULL Flash site, i have already made most of it, and it only has one .html (the index)
so i want to keep to this FULL FLASH idea..
plus its good learning. =)
look forward to the answer...
I like your work Mandi, =)
I just had a quick peek at weensyweb.com
BIG THUMBS UP!!!! =D
I'll let you know about the contact us page when i find out.
ha - cool thanks - one of these days i will get around to redoing my own site! too busy atm...
if you want to use the client-side email program use getURL(). if you want to use a server-side email program you can use the LoadVars() class to send the relevent variables to your script. which are you using?
i dont even know where to begin to make the contacts page... i need help from the verry begining. =(
i think i will be using server side email, the lady which im doing the site for hasnt told me yet.
but i need instructions from A to Z because i have never done a contact page in flash, only HTML.
how will i get the text to send on submit, is probably the most confusing to me.
all i have done in the layout is, made dynamic text fields... with graphics in th BG.
server-side email will require you (or someone else) to write an email program. that's usually going to be in perl, or asp or php or possibly some other language.
because you lack experience you should probably just use getURL(). it's simpler to do:
kglad, as new as i am to ActionScript, that getURL command you said, makes absolutely no sense to me. I have never seen anything even close to the "URL" you typed in. =)
but i will try it.. its how i learn.
i'm using ( or at least trying to use ) a PHP script to send the mail.. funny enough, it worked the first time, but only sent the email and comments fields..
now, it doesnt send anything anymore.
I have never written PHP before, so im thinking that im doing something wrong.
I got this code from kirupa.com and im trying to edit it to ad extra text fields to be sent, but thats when it started not to work. or just send 1 field and not the rest =)
if you want the code and swf get them at
the fields that need to be added from .swf are:
I'm also trying to do the same thing. Doing it from the client side is where I've started. I'm very new at all of this. I'm able to send the email, but I'm so new, I can't seem to find the right syntax to store the text the user types in the input fields in my variables. OK, I'm stupid. Please help.
By the way I like your work
hey south beach, i'll gladly help you out when i get this to work.. but as it is now, im still trying to get it to work all the time.
i'll need some time to figure out how PHP script works, but its not easy, cuz evry script i find on the net are different, so its hard to learn it. =)
did you have a peek at ADH folder?? =) thanx dude. once i finish the whole thing, im gonna change the layout, i hate it. =)
Originally posted by: fire orchid
look forward to the answer...
Hey mandi, PM me when you read this post.
status_txt.text='thanks mesage sent';}
$headers = "email@example.com"."\r\n";
$headers .= "MIME-Version: 1.0"."\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1"."\r\n";
$headers .= "Reply-To:firstname.lastname@example.org"."\r\n";
$headers .= "X-Priority: 1"."\r\n";
$headers .= "X-MSMail-Priority: High"."\r\n";
$headers .= "X-Mailer: My mailer";
$message="Name: ".$from.".\r\n Email: ".$email.".\r\nMessage: ".$comments.$phone.$mobile;
Thanx for the code jonnybennett, much appreciated =)
i only just finished the PHP i was working on, and it works fine now..
now i have 2 codes to use thanx to you. =)