Flash 8 Form Is Making Me Mad
I am new to website design and I have run into a problem. I am trying to create a contact form in Flash 8. I have tried a bunch of online tutorials and I can't get it figured out. I created all the text fields and gave them var names (in the properties panel, is that correct?) and have created a submit btn. The actionscript on the submit button is : on (release) {loadVariablesNum ("http://www.XXXXXXXXX.com/official/form1.php", 0, "GET");gotoAndPlay (16);} The components of the form are all on the same layer. Do I need to make the input boxes into a movieclip? The PHP script I have looks like: <?php$to .= "XXXX@yahoo.com";$subject = "Website Contact";$msg .= "$name";$msg .= "phone";$msg .= "$email";$msg .= "$hear_about";$msg .= "comments";$headers .= "From: $name <$email>";mail($to, $subject, $msg, $headers);?> --- on a side note, do PHP scripts have the tags (<body>, <head>, etc.) like html? and if so, does the script code go in the <body>? When i test the form, an e-mail is sent but the email looks like this: From: /TEXTFORMAT@linhost258.prod.mesa1.secureserver.net Body of e-mail: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">Mark</FONT></P></TEXTFORMAT> <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">phone</FONT></P></TEXTFORMAT> <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">email</FONT></P></TEXTFORMAT> <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">hear</FONT></P></TEXTFORMAT> comments And one last question, whenever I pull up the form on the internet, the input text boxes all have _level0.name (or whatever the var is of that text box)? Thanks in advance for the help.
KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 02-16-2007, 05:35 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Making A Form In Flash 5 Or MX
Ok I found this tutorial in Flash 4 and hoped it would work but I am not getting it to work. Are there any changes in version 5 that will keep this from working? Also doesnt there need to be a line of script that emails the info to the server? My traditional html form has that and I think that this Flash version would need that as well. Can you help me?
I know I am asking alot of questions here. But also how does Flash know all the text boxes are linked to gether and the buttons? There are no "form tag" type comments to tell it so.
Here is the tutorial I found here on Flashkit. I excluded the making of the actual form and text boxes.
Create two buttons now, Send and Clear (see the tutorial on Building Buttons and Adding Actions) and place them in your form.
In the "Clear" button add the actions:
On (Release)
Set Variable: "name" = ""
Set Variable: "homepage" = ""
Set Variable: "email" = ""
Set Variable: "comments" = ""
End On
In the "Send" button add the actions:
On (Release)
Load Variables ("http://www.server.com/cgi-bin/myform.cgi", 1, vars=POST)
End On
Making A Form In Flash
Hi,
I would like to make a form in flash that would send the information to my email without messing with the server. I have one that I did in Dreamweaver and it works great, but I can't figure out how to do it in Flash. Thanks
Holly Schu
http://users.pullman.com/schuzz/survey.html
Making Flash Form From CFM
Hello all, I'm trying to convert this form into flash. I can't seem to get it to work, I keep getting a client not identified error.
This is the CFM Form code:
<FORM ACTION="http://www.eventinventory.com/search/byevent.cfm" METHOD="POST"
name="Interface4"
target="EISearch"
onSubmit="RouteStatus(this)">
<INPUT TYPE="hidden" NAME="client" VALUE="3018">
<INPUT TYPE="hidden" NAME="restart" VALUE="Interface4">
<INPUT TYPE="hidden" NAME="next" VALUE="byevent.cfm">
<INPUT TYPE="hidden" NAME="id" VALUE="-1">
<INPUT TYPE="hidden" NAME="ref" VALUE="">
<TR><TD COLSPAN=2 class="interfacetitle">
Ticket Search
</TD></TR><TR VALIGN="CENTER">
<TD class="interfacetext">
<SPAN class="fields">
<INPUT TYPE="Text" NAME="k" SIZE=24 MAXLENGTH=40 VALUE=""></SPAN>
<INPUT type="Image"
src="http://www.eventinventory.com/graphics//client_1/buttons/Search.gif" ALT="Search" ALIGN="ABSMIDDLE" WIDTH=24 HEIGHT=18 HSPACE=4 VSPACE=0 BORDER=0><
BR> Enter the name of an event </TD> </TR></FORM></TABLE>');
Here's what I have for actions:
on (release, keyPress "<Enter>") {
address = "http://www.eventinventory.com/search/byevent.cfm";
client = "3018";
restart = "Interface4";
next = "byevent.cfm";
id = "-1";
ref = "";
getURL(address);
}
Like I said, I keep getting a client not identified error... any help is appreciated.
Making A Form Mail In Php With Flash
I need to make a mail form in flash, that works with php. I really need this as quick as possible, if anyone can help me, i'll be very thankfull.
I Need Dire Help Making A Flash Form
Hello, I need some serious help creating a Flash Form.
I Have used a template from another site with the following
input boxes:
Name: __________
Email: __________
Comments: ____________
However, i had the script working fine, along with its php script,
when i was trying to add more "text" boxes, i must have messed the script up somhow.
When I submit that form, the name is send and email, but the email is blank.. ie, there is no "comments"
here is the code:
on submit button:
--------------------------
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
}
sent email messege
--------------------------
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}
__________________________________________________ ____
and the php script (mailer.php)
php form email.pho
-------------------------
<?php
/************************************************** *
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
* http://www.php.net/manual/en/function.mail.php
************************************************* **/
// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.
$sendTo = "myemailaddress@gmail.com";
$subject = "My Flash site reply";
// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">
";
// next include a replyto
$headers .= "Reply-To: " . $_POST["email"] . "
";
// often email servers won't allow emails to be sent to
// domains other than their own. The return path here will
// often lift that restriction so, for instance, you could send
// email to a hotmail account. (hosting provider settings may vary)
// technically bounced email is supposed to go to the return-path email
$headers .= "Return-path: " . $_POST["email"];
// now we can add the content of the message to a body variable
$message = $_POST["message"];
// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>
__________________________________________________ __
__________________________________________________ _
If anyone can see why the "comments" section is not being sent?
Also: My original problem was how do you add more text boxes.
I want something like this:
Name:
Address:
Phone:
Mobile:
Email:
Website:
Comments:
Ive spent days and days trying to work out how to first make a form that actually works, then add more text fields
Ive looked at many basic form tutorials, but they all seem to only have 3 or 4 text fields.. Name, Email, Comments... etc
I haven't a clue how to edit the script both in action script and php to add more fields easy.
I really need some help with this, its turning into a nightmare for me.
I can provide someone with my .fla project file if they care to take a look at what im doing wrong.
Thanks
Pan
ps. Please note: "$sendTo = "myemailaddress@gmail.com";" = this line i know i must put in my own email.
Mark this message as the answer.
I Need Dire Help Making A Flash Form
Hello, I need some serious help creating a Flash Form.
I Have used a template from another site with the following
input boxes:
Name: __________
Email: __________
Comments: ____________
However, i had the script working fine, along with its php script,
when i was trying to add more "text" boxes, i must have messed the script up somhow.
When I submit that form, the name is send and email, but the email is blank.. ie, there is no "comments"
here is the code:
on submit button:
--------------------------
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
}
sent email messege
--------------------------
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}
__________________________________________________ ____
and the php script (mailer.php)
php form email.pho
-------------------------
<?php
/************************************************** *
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
* http://www.php.net/manual/en/function.mail.php
************************************************* **/
// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.
$sendTo = "myemailaddress@gmail.com";
$subject = "My Flash site reply";
// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">
";
// next include a replyto
$headers .= "Reply-To: " . $_POST["email"] . "
";
// often email servers won't allow emails to be sent to
// domains other than their own. The return path here will
// often lift that restriction so, for instance, you could send
// email to a hotmail account. (hosting provider settings may vary)
// technically bounced email is supposed to go to the return-path email
$headers .= "Return-path: " . $_POST["email"];
// now we can add the content of the message to a body variable
$message = $_POST["message"];
// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>
__________________________________________________ __
__________________________________________________ _
If anyone can see why the "comments" section is not being sent?
Also: My original problem was how do you add more text boxes.
I want something like this:
Name:
Address:
Phone:
Mobile:
Email:
Website:
Comments:
Ive spent days and days trying to work out how to first make a form that actually works, then add more text fields
Ive looked at many basic form tutorials, but they all seem to only have 3 or 4 text fields.. Name, Email, Comments... etc
I haven't a clue how to edit the script both in action script and php to add more fields easy.
I really need some help with this, its turning into a nightmare for me.
I can provide someone with my .fla project file if they care to take a look at what im doing wrong.
Thanks
Pan
ps. Please note: "$sendTo = "myemailaddress@gmail.com";" = this line i know i must put in my own email.
Making A Contact Form W/ Flash 5
Hi,
I searched the site first and did find a downloadable pre-made contact form that works with Flash, but I don't know that it will work with my ancient version since it uses PHP to mail the form. I use flash for drawing more than anything and don't know a whole lot about actionscript. I'm building a new website however, and would like to include a flash form for people to contact me through rather than email. I assume this can be done with Flash 5 using some sort of send form action but I could use a little help in figuring this one out.
Thanks
Making A Form In Flash 4 Using Formmail.pl
HELLO! Here is what I have.
1. I downloaded Matt's formmail.pl and got it set up
based on his README file
2. I can call formmail.pl in a html based form and
receive the information (via email)
3. When I put it in flash I can get Matt's autoresponse
that I have used the script but no information
Quesion: Am I looking at a config issue with the script?
or
Am I looking at an issue with earthlink's
(hosting) 'sendmail'?
HELP.....PLEASEEEE
I Need Dire Help Making A Flash Form
Hello, I need some serious help creating a Flash Form.
I Have used a template from another site with the following
input boxes:
Name: __________
Email: __________
Comments: ____________
However, i had the script working fine, along with its php script,
when i was trying to add more "text" boxes, i must have messed the script up somhow.
When I submit that form, the name is send and email, but the email is blank.. ie, there is no "comments"
here is the code:
on submit button:
--------------------------
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
}
sent email messege
--------------------------
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}
__________________________________________________ ____
and the php script (mailer.php)
php form email.pho
-------------------------
<?php
/************************************************** *
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
* http://www.php.net/manual/en/function.mail.php
************************************************* **/
// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.
$sendTo = "myemailaddress@gmail.com";
$subject = "My Flash site reply";
// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">
";
// next include a replyto
$headers .= "Reply-To: " . $_POST["email"] . "
";
// often email servers won't allow emails to be sent to
// domains other than their own. The return path here will
// often lift that restriction so, for instance, you could send
// email to a hotmail account. (hosting provider settings may vary)
// technically bounced email is supposed to go to the return-path email
$headers .= "Return-path: " . $_POST["email"];
// now we can add the content of the message to a body variable
$message = $_POST["message"];
// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>
__________________________________________________ __
__________________________________________________ _
If anyone can see why the "comments" section is not being sent?
Also: My original problem was how do you add more text boxes.
I want something like this:
Name:
Address:
Phone:
Mobile:
Email:
Website:
Comments:
Ive spent days and days trying to work out how to first make a form that actually works, then add more text fields
Ive looked at many basic form tutorials, but they all seem to only have 3 or 4 text fields.. Name, Email, Comments... etc
I haven't a clue how to edit the script both in action script and php to add more fields easy.
I really need some help with this, its turning into a nightmare for me.
I can provide someone with my .fla project file if they care to take a look at what im doing wrong.
Thanks
Pan
ps. Please note: "$sendTo = "myemailaddress@gmail.com";" = this line i know i must put in my own email.
Making An Html Form Work In Flash
Hello,
I have an html form setup here: http://www.uprokrecords.com/lpg/recommend.htm
I would like to get this to work inside flash but have no clue since the code is really touchy!
The code for the form is attached.
Please help.
<form method="POST" action="http://www.thecadetleague.com/cgi-bin/mrp/MRP.cgi">
<input type="hidden" name="next" value="http://www.uprokrecords.com/lpg/thankyou.htm">
<input type="hidden" name="sitename" value="The LPG E-Card">
<input type="hidden" name="howmany" value="10">
<input type="hidden" name="siteURL" value="http://www.uprokrecords.com/lpg">
<TABLE>
<TR>
<TD width="531"> <table border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="72" height="37" align="right"><font face=verdana size=1 color=white>Your
Name:</font></td>
<td width="150"><input type="text" name="visitorname" size="25"></td>
</tr>
<tr>
<td height="30" align="right"><font face=verdana size=1 color=white>Your
Email:</font></td>
<td><input type="text" name="visitormail" size="25"></td>
</tr>
<tr>
<td height="12"> </td>
</tr>
<tr>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_1" size="25"></td>
<td width="75"> </td>
<td width="72" align="right"><font face=verdana size=1 color=white>
Name:</font></td>
<td width="150"><input type="text" name="friendname_2" size="25"></td>
</tr>
<tr>
<td height="49" align="right"><font face=verdana size=1 color=white>
Email:</font></td>
<td><input type="text" name="friendmail_1" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_2" size="25"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="36" align="right"><font face=verdana size=1 color=white>
Name:</font></td>
<td><input type="text" name="friendname_3" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_4" size="25"></td>
</tr>
<tr>
<td height="30" align="right"><font face=verdana size=1 color=white>
Email:</font></td>
<td> <input type="text" name="friendmail_3" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_4" size="25"></td>
</tr>
<tr>
<td height="8"> </td>
</tr>
<tr>
<td height="42" align="right"><font face=verdana size=1 color=white>Name:</font></td>
<td><input type="text" name="friendname_5" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_6" size="25"></td>
</tr>
<tr>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_5" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_6" size="25"></td>
</tr>
<tr>
<td height="16"> </td>
</tr>
<tr>
<td height="34" align="right"><font face=verdana size=1 color=white>
Name:</font></td>
<td><input type="text" name="friendname_7" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_8" size="25"></td>
</tr>
<tr>
<td height="35" align="right"><font face=verdana size=1 color=white>
Email:</font></td>
<td><input type="text" name="friendmail_7" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_8" size="25"></td>
</tr>
<tr>
<td height="8"> </td>
</tr>
<tr>
<td height="43" align="right"><font face=verdana size=1 color=white>
Name:</font></td>
<td><input type="text" name="friendname_9" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_10" size="25"></td>
</tr>
<tr>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_9" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_10" size="25"></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td><font face=verdana size=1 color=white>Message to your friend
(optional):</font><br> <textarea name="message" cols="50" rows="5"></textarea></td>
</tr>
<tr>
<td><input type="checkbox" name="copy" value="yes"> <font face=verdana size=1 color=white>Send
me a copy of what's sent to my friends.</font></td>
</tr>
<tr>
<td align="center"><input type="submit" value="PASS IT ON!"></td>
</tr>
</table></TD>
</TR>
</TABLE>
</form>
Making Valiadation Using Javascript In Flash Form
hello,
I have a flash form which I have used for years, i check for proper email and if named is filled, now I am trying to do a phone number validation... I am getting errors, this is my code...
it is the var Pattern which is casing the error
var pattern=[A-X,a-z];
on (release) {
if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
}
else if (!name.length) {
EmailStatus = "Please enter your name";
}
else if (pattern.test(phone.value)){
EmailStatus = "Please enter a valid phone number";
}
else {
loadVariablesNum("sendmail.asp", 0, "POST");
gotoAndPlay(2);
}
}
Help With Making A Flash Form/Saving Text To File/and Displaying In Flash
I'm trying to make a flash movie that has a form (with a textbox, textarea, and a submit button) that would save to a file and display it in a textbox. This is going to be a small site so MySQL isn't required.
I'm trying to do this completely in flash, without any outisde html forms. I know you can use php in flash but I wasn't sure how (and i've searched). And I'm not sure how to go about with making forms in flash. Is this possible, and are there any similar tutorials you could point me to?
Regards
Problems Making A Simple Email Form In Flash
Ok hi dudes!!
ok ive worked with flash for quite awhile but have never done a simple email for where you can send email..
ive downloaded afew open source files from net but cant get anything to work..i know nothing about php or perl or cgi bin stuff..
all i would want is a form where the viewer if he or she wants to send email it would ask:
NAME
email address
and then you could leave message
SEND button RESET Button
Anyhow im abit confused why all this Perl, PHP stuff has to be involved,,is it not possible just to have this info sent..like an email..just using Outlook and flash..
Basically i have tried to test afew templates out by just adding my own email address as the Recipient in the actionscript and then testing movie in flash and filling out one of these email forms and trying to send email to myself to see if it works..but it does'nt...
Once of the open source files i have says this in the instruction attached mail with the FLA:
Flash to Email example using modified version of Matt's FormMail.pl script.
1. Copy the flashformmail.pl to your server cgi-bin folder, chmoded to 775 or 755
2. Edit the variables in the FLA file.
3. Publish the movie and enjoy
Feel free to use it whenever you need to.
YOu can just copy/paste the entire movie into your own flash movie, you can edit
its apearance and behaviour as you wish to.
It is just a Flash - XML - Perl example for creating FlashToEmail form on your site.
vena@venata.net
2003
----------------------------------------------------------
anyhow do i have a Cgi Bin what is this..??? im just a little lost as i dont know coding well and am not familiar with any of this techy stuff...
whats the best and easiest form to modify??
Many thanks!!!
chris
Making Or Finding A Flash Image Selector For A Form?
I want to start selling custom made clothing online where people can choose the style, fabric, color, shape, etc in the order form. Many of the options will be pictures they just have to click.
Are there any templates/tools like this that I can download from the internet? So far I didn't find anything.
If not, how long of a project would this be if I learned some flash and did it myself. Right now I know nothing about creating flash websites, but I am very interested in learning flash.
thanks,
Perry
Flash Movie Making Cursor In Non Flash Form Flicker
Hi all,
Whenever I insert the flash movie into the page, it causes the cursor in the input field of a form to flicker sporadically. It does it in IE 5, 5.5, 6, 7, and in Firefox. Opera is not affected at all. Anyone ever run across this? I remember this happening to me before I just can not recall what the cause was.
Thanks in advance!
Making A Form
I want to put an input texy for a user to type in a message and then he clicks a button and it sends it to my e-mail. But I don't want the use to know my email if that can be done.
Making A Form In MX
hi,
i am looking for a tutorial to learn how to make forms in Flash MX. does anyone know of one?
thanks,
pjustice
Help Making A Form
here's my code
Quote:
<form method=post action=http://www.yourmailinglistprovider.com/subscribe.php?dbzfan33> <input type=text name=YMP[0] size=06 maxlength=100> <input type=radio name=action value=subscribe CHECKED> <input type=submit value=Submit name=submit></form>
i want to make a form in flash using that. what should i do................................. dumb i am, i should read ur tutorial... duh, i'll reply to this with my problem once i have one.
Making A 'Sugestion Form'
Hi folks
please help me!! I want to make a form for the visitors write in sugestions about my site. How can I store this sugestions? in a txt file? or a html file? I want to do this only with action script (if possible)
Thanks!
this board is great!
Help Me This Form Is Making Me Crazy
I've got this code on the "send" button
on (release) {
subject = teste;
recipient = "iaeferreira@hotmail.com";
redirect = "http://www.eportifolio.com";
loadVariablesNum ("http://www.hpg.com.br/scripts/cgi-bin/FormMail.pl", 0, "POST");
}
take a look at the swf file
http://www.mygraphicworksdsign.hpg.ig.com.br/form.htm
But no e-mail is sent. what should I do?
Making Contact Form?
i've designed a contact form asks user for his e-mail ,comment and subject of comment.
there are two buutons,one to clear the form and the other to send the previous information to my e-mail.
i want to know the action script to put assign to the button "send" to send those information to my e-mail:"ace_milan2003@yahoo.com"
i have attached the .fla file (flash 8 file).
thank u all
Making Login Form
Well let me put it simply, Flash is not my thing, besides the huge learning curve and the crazy language of ActionScript associated with it, it's not the easiest thing to do. Anyway, I am making a login form using flash. I have 4 scenes:
1. loader - Is a preloader scene
2. loginform - contains the actual login form
3. logingood - has the scene which I want to use upon a good login
4. loginfail - has the frames I wish to play upon a failed login attempt
The form contains a few lings of text, 2 text fields on of which is a password field (created by Flash's Component UI library), and one submit button (also from the UI library).
All form fields have been named properly (I created their instance names by putting a name in the "Instance Box")
The code looks theoretically correct, but it does not seem to want to work. Everytime I enter something and submit, I get no response. It locks the form field (which it is supposed to do) and nothing else happens. I do not get redirected to any other scenes (each scene is completely different looking).
My actionscript code is:
Code:
on (release) {
if (_root.usernameField.length > 3 && _root.passwordField.length > 3) {
sendVars = new LoadVars();
replyVars = new LoadVars();
sendVars.username = _root.usernameField.text;
sendVars.pass = _root.passwordField.text;
sendVars.sendAndLoad("login.php", replyVars, "POST");
_root.usernameField.selectable = false;
_root.usernameField.selectable = false;
_root.doLogin.enabled = false;
}
replyVars.onLoad = function() {
if( this.user == 1 ) {
_root.gotoAndPlay("logingood", 1);
} else {
_root.gotoAndPlay("loginfail", 1);
}
}
}
My PHP code (login.php) is very simple since I am just testing this all.
Code:
<?php
if($_POST['username'] == "user" && $_POST['pass'] == "pass")
{
print "&user=1";
} else {
print "&user=0";
}
?>
Any help, even the smallest of help would be greatly appreciated.
Thanks
Making A Printable Form.
I made a long form (which means it needs to scroll) and I have made it on its own swf file(c.swf). Its loads into another movie (b.swf). That movie loads into a main stage(a.swf). What code do I need to control the form to just the form print.
View files (http://www.planetofjunk.com/2005/template.html) sorry no loader installed yet, you have to click on application button to view form I need to print.
-r
Making An Info Form
newbie alert!!
I am trying to build a form page. Along with the text input fields, I also need to use some components but never have before and don't know a thing about them. I need to make a menu button that has numbers 1-10. This number then is to multiplied by a another and the sum needs to be displayed in another box on the form. Then then when the user pushes "send" I need to receive this info. I think is will use both input and dynamic text fields, but I'm totally lost.
Thanks for your help.
Making An Info Form
newbie alert!!
I am trying to build a form page. Along with the text input fields, I also need to use some components but never have before and don't know a thing about them. I need to make a menu button that has numbers 1-10. This number then is to multiplied by a another and the sum needs to be displayed in another box on the form. Then then when the user pushes "send" I need to receive this info. I think is will use both input and dynamic text fields, but I'm totally lost.
Thanks for your help.
Making An Emailable Form
I'm decent with flash i could probably understand it if you could help me. I need a built in form that will be sent to me email, I can't find any tutorials on how to do this, if you could explain or give me a link to a tutorial please do.
Theory Into Effect : Making A Form
Hi
I am working through a book, and so far have learned these and other functions of AS :
working with strings using " " , ==, !=, understanding the indexOf() and substring() functions etc etc ....
this seems all great stuff and i am understanding it clearly, but i'd like to use it now to make a simple form, with simple name / Email / address fields.
what's the best way to go forward with this ? im finding the book really really illuminating (Moock), but i'm impatient to make it stick to something.
thanks for any tips.
[CS3] Making My 'Contact Form' Work
Hey, I need to activate a working script for my Contact Form. This is what it looks like:
Am I correct in assuming I have to key something in to the Submit button? I just want it to goto my email, and then have a message come up saying "Your message was submitted, blah blah blah". How do I perform this? Thanks!
Making My Lines Form A Box With Actionscript
I have four lines that sit on the stage forming a cross. When the user clicks on a link the lines move and form a box. It happens quickly. I want the lines to form a box moving at a slower rate. Here is my code for the lines that form the box. How can i adapt actionscript to tell it to go slower when forming?
on (release){
_root.upperline._y=56.3
_root.lowerline._y=374.9
_root.rightline._x=500.5
_root.leftline._x=31.3
}
Thank you.
The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
[F8] Making A Simple Contact Form Work
Actually on CS3, but still using AS 2 on this file.
Total ActionScript imbecile, having an impossibel time of making this work.
I'm including the Flash file, because I may have contructed the movie in a slightly odd way that could be affecting its ability to work.
Running on Windows, so trying to POST a cdontsMail.asp file on submit.
Here is the [obviously broken] code I am using for the submit button:
Code:
on (release) {
if (fullname ! "" and email ! "" and message ! "")
loadVariablesNum("cdontsMail.asp", 0, "POST");
gotoAndPlay("valid");
} else {
gotoAndPlay("invalid");
}
}
Find the file for download here (too big to attach): contact-us-DEV
I also was dreaming of including a "clear" button that would wipe all input fields clean - bonus appreciation if anyone knows how to make that happen too.
Many, many advanced thanks.
Flash Form+php(kirupa Tutorial)/messages Sent By Form Show Strange Characters
Flash form+php(kirupa tutorial)/messages sent by form show strange characters - uncorrect stressing for latin languages
I tested flash + php form (http://www.kirupa.com/developer/act...h_php_email.htm) , and noticed message field does not send messages correctly when words stressing is needed (á à , é , í , ó , ão ) ;
I received strange characters when typed stressed words :
á é i ó u ão à pão cão árvore ;
what has to be changed on the code to allow stressing ??
cheers
Flash Form Question : Sending HTML Form Values...
I'm trying to create a flash form version of an HTML form. It's basically just a voting drop down menu - user chooses "Yes", "no","maybe" from teh drop down and hits a submit buttons which would send the results to a CGI script though POST. I understand the submission aspect, but am not sure how to assign values to the drop down in the same way HTML does:
<option value="yes">
<option value="no>
...
Do I just set the combo box Data array to [yes,no,maybe]? If so, how is it to be sent?
thanks
Pass Variable Form HTML Form To Flash
Hi,
I'm trying to figure out how to send what the user selects from a HTML drop-down menu to the Flash movie.
In this scenario, the user picks an email address from a drop-down list and this is sent to flash as a variable called 'eaddress' which is eventually used in the flash movie to send a message to this address.
Any help is much appreciated!
Glenn
Help: Form Mail (CGI-style Email Form) In Flash
Anyone have a nice .FLA file to share so I can get in and play with the AS?
I need to setup a CGI-style email submission (request info, etc) completely within the MX2004 pro environment--for a client.
I'm not completely fluent in AS2.0, but I can run with changing the fields and calls so long as the sample is not too complex.
Much appreciated.
How Do I Set Up Hidden Form Variables For A Flash Form.
Guys, I'm using the flashkit tutorial on "send e-mail in flash the easy way", or something like that. Problem is that I need to set variables for hidden input, but don't know where and how to pass them along to the script?
Thanks
Convert HTML Form Into FLASH Form
http://www.bennyvo.com/test/
can someone look at this site and help me converting html form into flash form? is it possible?
thanks alots.
[F8] Flash Form Pops Up With The Php Url When Submitting Form
Hey guys,
I have a very minor issue here. I've created a contact form that uses a loadVars function to send the information to a php script and then on to my email. I've got everything working perfect except for the fact that when the user clicks submit it pops up a page with the address of my php script in order to run it. This is a bit annoying, so i was wondering if there was anyway to stop this from happening (but still run the script).
At the moment my code is:
PHP Code:
details_lv = new LoadVars ();
details_lv.userName = text2_mc.name_txt.text;
details_lv.userEmail = text2_mc.email_txt.text;
details_lv.userSubject = text2_mc.subject_txt.text;
details_lv.userMessage = text2_mc.message_txt.text;
details_lv.send("contact.php", "POST");
Any help would be appreciated,
Thx
Flash Form Vs HTML Form
Hello Peoples,
The following HTML code produces a button that when clicked sends the user to my online credit card processor's site where the user can proceed with a transaction.
----------HTML CODE----------
<form action='https://www.casher.com/buyer/purchase' method='post'>
<input type='hidden' name='dis' value='435532' >
<input type='hidden' name='quantity' value='1' >
<input type='hidden' name='product_id' value='1' >
<input name="submit" type='submit' value='Click to pay thru casher.com' >
</form>
----------HTML CODE----------
So my question is: If I want to use a button in a flash piece to do the same thing as the above HTML button, what code do I apply to the button in flash ?
Thanks,
Reflex.
HTML FORM To Flash FORM
I'm tryin to convert an HTML password page into FLASH and haven't a clue where to start. The site is www.modernvisionphotography.com and the code for HTML is
<form name="pix" method="post" action="http://www.724pix.com/album.asp" onsubmit="return 724check();">
<input type="hidden" name="init" value="init">
<input type="hidden" name="code" value="458">
<input type="text" name="password" size="16" maxlength="30"><br>
<input type="submit" name="submit" value="submit">
The user types in their password via an input text field but i haven't an idea what to put in the submission button in flash.
Any leads? or ideas would be helpful! Thanks for your time.
Flash/CGI E-mail Form -- Form Sends Info To E-mail? HELP Please (AIM/ICQ)
I am trying to make a flash file where you enter in information and then you click send and it sends the data in the form to my e-mail address. I tried customizing all of the cgi ones from the movies section of flashkit, and modifyied the cgi script accordingly. No matter what I've tried, I won't receive the information in my e-mail. For me, this matter is too hard to resolve over e-mail or a forum, so if you would like to, please help me out over instant messenger. I will be online under AIM name: blizzardmedia and ICQ number 64322480
Thanks for your help.
Form In Flash, Tab Goes Off Form
Sorry - I really feel at a loss here as there is nowhere I can find to set up a control for the order in which you can move from one field to another. But as I test my form, and tab from one field to the next - the cursor goes from first to second field, then off the form to the menu bar, tab again and you end up in the third field of the form, tab again and you go off form to the next option on the menu bar, tab again and you go back to the last two fields in the form. What can I do to keep the cursor in the form going from one field to the next? PLEASE!?
PHP Form To Flash Form
Hello everyone, I have a form php that I want to convert to flash, but do not know how to do it, this it is the code.
Code:
<form action="www.ejemplo.com/algo" method="post" name="comment" enctype="multipart/form-data">
<p>Comentario</p>
<textarea id="cftext" name="text" rows="8" cols="50" class="formfield">Escribe tu comentario</textarea>
<input name="rate" id="cfrate" value="0" type="hidden">
<input name="system_content" value="function" type="hidden">
<input name="system_lib" value="algo" type="hidden">
<input name="system_name" value="algo" type="hidden">
<input name="system_type" value="algo" type="hidden">
<input name="system_cid" value="algo" type="hidden">
<input name="system_tpl_success" value="algo" type="hidden">
<input name="system_tpl_error" value="algo" type="hidden">
<br>
<p align="center"><input name="submit" value="POST COMMENT" type="submit"></p>
</form>
PLEASE, HELP ME!!!
Making A Grid And Making It Mask Images
Hey guys,
I have this code below and i am trying to make each of these movie clips dynamically mask an image. For some reason it still does not work. I can get the grid to come out correctly but the masking is suspect. Any help would be very much appreciated. Thank you
num=0;
for (i=0; i<12; i++){
for (j=0; j<45; j++){
this.createEmptyMovieClip("a"+num, num)
this.createEmptyMovieClip("b"+num, num+1)
//trace(num);
//trace("IMAGE DEPTH: " + this["b"+num].getDepth());
this["a"+num].attachMovie("thelinked", "thelinked2", num);
this["b"+num].attachMovie("thelinkedimage", "thelinkedimage2", num+1);
mc=this["a"+num]["thelinked2"];
image=this["b"+num]["thelinkedimage2"];
mc._x=i*12;
mc._y=j*12;
image._x=i*12;
image._y=j*12;
image.setMask(mc);
num++;
}
}
Making A Flash Movie Open In Flash Player, Not A Browser
Hi, i know it sounds like a really obvious question but i can't figure it out. I did a flash movie for this site: -
localeyenewspaper.com
if you go to the sample newspaper and click a page opens with a flash movie in a html page. My boss now wants the user to be able to zoom in and read the paper, so i need it to open in the flash player to do this. all i did in dreamweaver was link the movie to the button and it automatically put it in the html page, how do i get it to open in flash player instead? thanks.
Making My Flash Mp3 Player Visable & Playable On Another Flash Scene?
I need my showreel web-page to look like my other pages but I need it to also have my Flash mp3 player on it to play my music samples.
Now I have the flash page done plus the Flash mp3 player ready and waiting, but I do not know how to incorporate the flash mp3 player into the scene / page etc.
Any ideas are welcome.
Thanks Jim
Questions Regarding Making Flash Smaller, And Linking Flash Movies
http://creativemods.com/banner.swf
hello all. at the above link, you will find a very simple flash movie i made.
so its still quite tall. is there any way i can resize it so it looks the same, but only shows whats inside of the mask? there are two large white margins on the top and bottom that are not supposed to be there
also, how do i link this movie to a website?
Making Flash Pup Up Windows Inside A Flash Movie
I am doing a complete flash site. I want to know how to have it so that when you click on a link it makes a pop up window but still in flash for each page. I want there also to be an x on the top so you can exit that page. Please tell me how to do this also go to http://www.mxpx.com to see what im talking about.
Is There A Way To Construct Shared Objects For Flash, Without Making Them In Flash
Hi Everybody,
I'm in a bit of a jam. I need to find some kind of file format and command that I can use to take local data from a viewers hard drive and use in an flash movie.
My leads to date are as such:
LoadVars: Seems that the data needs to come from the server side. I need to grab data from a client side.
LoadVariables: Once again, the server side issue.
SharedObject: I really like this one, but I need a way to make one without flash, that flash can use to pick up info to guide a movie.
I'm using Flash MX to make this project. So far I can send data out to the server, but I need to be able to get data from the clients system, that would have been placed there as a cookie, or an xml.
Please help me!!!!!
-Plasnid
|