yeah, he has it set up like that. Everything should work, but I can’t get his movie to send the variables. I have tried loadVariablesNum on different levels, I even tried getURL with a POST command I couldn’t get it. I think it has something to do with how your file is set up… I can’t figure out how to fix it…
that sucks
sniffle i want it to work
lostinbeta
ilyalmasse
sbeener
dan4885
senocular
someone!!!?
maybe i should repost this question in a new thread … most people don’t want to read through 30 posts to see my question here at the end =)
Well the methods I used should have worked. You may have to change around the way your file is set up. It was kind of confusing…
post up the fla i’ll try a dabble @ it!
jayemsee!
you can find the fla on my site
http://www.aaronsleeper.com/site.fla
jubba: how would you suggest i reorganize the file. this is the first time i’ve tried to make an entire site in flash. so i’m learning and organizing as i go. hence the jumbled disorganized appearance of the fla file =)
thanks for all your help guys
Well, I try to make every section a separate movie and then load everything in. I try to use AS instead of tweens as much as possible. Its basically hit and miss/ trial and error to get a system that works for you. When I opened your file I almost had a seizure. Its not what I’m used to
lol
sorry for the health complications due to my unorganized file. i really don’t want to start over but maybe i should. sigh:sure:
we were so concerned w/ why the php wasnt working you overlooked one important factor?!
just below and to the right of where you put the variable name
there is a box labeled MAXIMUM CHARACTERS put like 100 for all of them except the message and in message put in like 500, see if that works…
jayemsee
sigh i was hopeful
i didn’t think that was the problem but i tried it anyway. the character limit is a limiter that will stop the user from entering characters, not just keep them from being sent as variables and when the value is set to 0 then it is unlimited =) nice try though
my bad shuga, i dunno, the only other thing i can think of, is to load the contact page as a seperate swf, so once the user presses the contact button the bottom would slide to the left as usual, than have (loadMovie, 1)so it would load that movie as a seperate swf , with out all the _root. actions??
could work because that way you’ll only have 2 frames in the new swf?
jayemsee
for teh clear button, cant you just make it go ot the first keyframe, so it automatically clears everthing?
because the 1st keyframe is the same keyframe
that the dynamic text is on, so youd hafta to have
somothin like
on(rollOver) {
if name = “”;
message = “name = blank”
}
on (rollOut) {
name = “”
etc. so thay all go back to being blank
OK the email sends to me, but i see nothing for the subject coudl somone please copy the code i have 3 variables, “name”, “email”, and “comments” can somone help me please i copied this code
PHP:--------------------------------------------------------------------------------
<?
$to = “PUT Your E-mail Address Here”;
$name = $_POST[‘name’];
$email = $_POST[‘email’];
$company = $_POST[‘company’];
$question = $_POST[‘question’];
$subject = “Question Form”;
$message = "$question
";
$message .= "From $name <$email>
";
$message .= "Company: $company
";
$header = “From: $name <$email>”;
mail($to, $subject, $message, $header);
?>
can somone tchange it to what i need to type thanks!!
this is what i get inside my email
>From <>
Company:
theres a php form mailer tutorial on actionscript.org its pretty good and alot easier that all that larkum u guys are doing
if you only have 3 variables
“name”, “email”, and “comments”
than company wont show up, because you dont have a company variable.
<?
$to = "cheez0@cheez00.com";
$name = $_POST['name'];
$email = $_POST['email'];
$company = $_POST['company'];
$question = $_POST['comments'];
$subject = "cheez00 phph mailer";
$message .= "name: $name - email: $email \r";
$message .= "($comments)
";
$message .= "$question
";
$header = "from: $name ($email)";
mail($to, $subject, $message, $header);
?>
and save it as .php, find out if your server needs you to put your php file in a certain folder or modify the CHMOD settings.
jayemsee
Ok for subject it says cheez00 php mailer, bu tthis is what i get for the msg
name: - email: ()
please help i reallly want this to work
haah im an idiot… thanks to suga who helped me on aim… i was putting the variables inside the instance name and not variable… but i got it thanks guys!~
Hey guys, I was having a lot of trouble with my mailer until i added the words “php” in the beginning of the php code…
So let’s say the php code starts like:
<?
$to = "cheez0@cheez00.com";
$name = $_POST['name'];
$email = $_POST['email']; (and so on)....
change it to:
<?php
$to = "cheez0@cheez00.com";
$name = $_POST['name'];
$email = $_POST['email']; (and so on...)
And BAM it works
So give that a try if you’re still stuck.
hmmm… that really should have no effect on it… may have something to do with your host and how its server recognizes the files…