Form Issues
hi there...just need a bit of help with a form i am creating.
I have created a input text box 'Postcode', so that I can determine $ for postage and handling of goods in a Dynamic text box 'postage'.
If the value of the 'Postcode' is 3000 I want the 'postage' to show $5, else $10 for all others.
I have created variables:
var metro = 5;
var other = 10;
I have created a button for 'total', but can't get the button to pass the appropriate variable on.
Can anyone help? Forms not my forte and at wits end...
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 06-18-2007, 09:52 AM
View Complete Forum Thread with Replies
Sponsored Links:
Form Issues
Hey everyone! So here's what I'm dealing with.
I have a simple form on my personal site I'm working on:
http://www.rickhoeye.com/v4/flash/rickcontact2_temp.swf
The php script works great, etc - if you go to the above link, it works perfectly, I get the email w/ info, etc. BUT, when I call that same swf file from within the Main movie (hit the mail icon on the lower right):
http://www.rickhoeye.com/v4/
It acts like it works (gives you the thank you message). But no email gets sent to me.
Anyone know what gives?????
I appreciate the help!!
Rick
View Replies !
View Related
Feedback Form Issues
This is my very first flash site so I thought I'd go to the pros for this one. My problem is that when I go to the request a quote link and submit the info, I don't get the info in my email, so how the hell do I fix this!?
View Replies !
View Related
[MX] Feedback Form Issues
Here is the website I made from a template
http://www.bobjungphotography.com
There is a form on the contact page for email, etc. If you look at it, the form fields are filled in, and when you click there, they disappear. I cannot, for the life of me, get that working!
The clear button works, and I think I have the script for the send button, but I cannot figure out where those invisible texts are coming from or how to get the send to work.
Any thoughts would be very appreciated!!!! Thanks!
View Replies !
View Related
[F8] Flash Form Issues?
I have built a flash contact us form and are using a perl script in a cgi-bin to process it, the problem is that it returns no data back in my email box just the titles. Below is my test form.
http://www.eko-create.com/dev/eko_de..._us_flash.html
View Replies !
View Related
Contact Us Form Issues
I have a contact form and i want to attach a "register your details" tick box thing, I have all the components there for the email to work, its using PHP i was just wondering what i need to add to the PHP to make it take the tick box button too (so it puts on the email to the contacted person that they want their details put into a database).
Many Thanks
Christopher Mitchell
View Replies !
View Related
[CS3] AS2 Contact Form Issues
here it is,
basically the contact form is nested inside a movie clip which in turn is an external swf. The form isnt sending the desired info to the php form, Ive posted both sets of code so as you guys can help me out somehow.
AS2 code here
Code:
function clearField() {
txtField1.text = label1;
txtField2.text = label2;
txtField3.text = label3;
txtField4.text = label4;
}// End of the function
label1 = "Name";
label2 = "Company";
label3 = "E-mail";
label4 = "Message";
countField = 4;
clearField();
var arrayLabel = new Array();
for (i=1; i<countField+1; i++) {
txtField = this["txtField"+i];
txtField.index = i;
arrayLabel[i] = this["label"+i];
txtField.tabIndex = i;
txtField.onSetFocus = function() {
if (this.text == arrayLabel[this.index]) {
this.text = "";
}
// end if
};
txtField.onKillFocus = function() {
if (this.text == "") {
this.text = arrayLabel[this.index];
}
// end if
};
}// end of for
btnClear.onRollOver = function() {
this.gotoAndPlay("start");
};
btnClear.onRollOut = btnClear.onReleaseOutside=function () {
this.gotoAndPlay("finish");
};
btnClear.onRelease = function() {
clearField();
};
btnSubmit.onRollOver = function() {
this.gotoAndPlay("start");
};
btnSubmit.onRollOut = btnSubmit.onReleaseOutside=function () {
this.gotoAndPlay("finish");
};
btnSubmit.onRelease = function() {
if (_root.page5.contactform.txtField1.text == label1 || _root.page5.contactform.txtField2.text == label2 || _root.page5.contactform.txtField3.text == label3 || _root.page5.contactform.txtField4.text == label4) {
gotoAndStop(3);
} else {
_root.page5.contactform.loadVariables("contact.php","POST");
gotoAndStop(2);
}// end else if
};
stop();
php is here
PHP Code:
<?
$destination="mystery@emailaddress.com";
$name1=$_POST['name'];
$company=$_POST['company'];
$email=$_POST['email'];
$message1=$_POST['message'];
$subject="Message from $name" ;
$mes="Name : $name
Email: $email
Comments: $mes
";
mail($destination,$subject,$mes); ?>
honnestly any help will bring serious kudos!!
thanks
View Replies !
View Related
[F8] Contact Form Issues
i'm trying to set up a contact form on my site and trying to link it to php. I have used the flash 8 components TEXT INPUT for both name and email and TEXT AREA for message. I've given the components instance names
the script is as follows.
stop ();
txtfullName.tabIndex = 1;
txtemail.tabIndex = 2;
txtcomments.tabIndex = 3;
mcsend.onRollOver = function() {
this.gotoAndStop(2);
};
mcsend.onRollOut = function() {
this.gotoAndStop(1);
};
mcsend.onRelease = function() {
var mylv:LoadVars = new LoadVars();
mylv.fullName = txtfullName.text;
mylv.email = txtemail.text;
mylv.comments = txtcomments.text;
if (txtfullName.text != ""&& txtemail !="" && txtcomments != ""){
mylv.send ("send.php", "POST")
gotoAndStop ("success")
}
else {
gotoAndStop ("error")
}
};
i'm confused about how to get my variables into my php. do i use the instance name or the mylv. names to link into my php?
or does the php count the three separate variables as one and send mylv as a whole?
I HATE PHP WORK!!!
View Replies !
View Related
Contact Form Issues
In my contact form, if the user trys to send a message and has not completed all the fields, a short movie clip plays and says "Please complete form." And then, when the user clicks again in one of the input fields, the movie clip plays and image disappears. However, as it's working now, the movie doesn't stop where it should, and it plays and keeps going and the image disappears. The cursor for some reason is still in a text input box and I guess the movie plays on without stopping. If you'll press the send button the moment you open the contact form, you'll see what's supposed to happen. The movie clip plays and the image stays on the stage. And then, when the user clicks in any text input box, the movie clip plays and image disappears. It's after you place your cursor in a text box, the error movie clip fails to play correctly. Now here's the kicker. All of problems above are only present when I publish the movie with the Action Script 2.0 option selected. And when I published the movie with the Action Script 1.0 option selected, the error movie clip in the contact form works perfectly. I guess there must be something in the action script for that page that's not supported in 2.0. I need to save my site with Action Script 2.0 selected because I have a lot of tool tip's that totally won't work when I publish with Action Sript 1.0 selected. I've included the site and the action script. Let me know if you see a conflict. Honestly, I haven't a clue. Thanks.
Site is Here.
Attach Code
stop();
System.useCodepage = true;
send_btn.onRelease = function() {
my_vars = new LoadVars();
my_vars.sender = email_box.text;
my_vars.subject = subject_box.text;
my_vars.message = message_box.text;
if (my_vars.sender != "" and my_vars.subject != "" and my_vars.message != "") {
my_vars.sendAndLoad("mailer.php", my_vars, "POST");
gotoAndStop(2);
} else {
error_clip.gotoAndPlay(2);
}
my_vars.onLoad = function() {
gotoAndStop(3);
};
};
email_box.onSetFocus = subject_box.onSetFocus=message_box.onSetFocus=function () {
if (error_clip._currentframe != 1) {
error_clip.gotoAndPlay(6);
}
};
View Replies !
View Related
Issues With A Form And GetURL
Ok, so here is my form http://foreverdown.com/new.php
you can go ahead and try it. (its the mailing list form) and you will see that the email value from the text field is not getting passed. It comes up and says that email is undefined. here's my action script.
Code:
mcSubmitML.onRelease = function():Void {
formDataML = new LoadVars();
formDataML.email = emailML.getValue();
formDataML.action = actionML.getValue();
getURL("mailinglist/maillist.php?"+formDataML, "_blank", "post");
}
I have a text field with instance name emailML and the radio buttons are actionML. the action gets passed just fine, but the email doesn't make it. I tried using the textfield component and got the same error, so I switched it back to the input text field. I also tried formDataML.email = emailML.getText(); but that didn't do anything either.
Anyone know what I am doing wrong? Thanks in advance!
View Replies !
View Related
Form 'POST' Issues
Hey all - got a little issue with sending data from Form to a URL..
The URL as it stands to me looks like a 'GET' ? Can anyone shed some light on how I can get these fields to submit to this URL?
eg..
submitBtn.onRelease = function() {
myLoadVars = new LoadVars();
myRecVars = new LoadVars();
myLoadVars.last_name = last_name.text;
myLoadVars.first_name = first_name.text;
myLoadVars.mobile_phone = mobile_phone.text;
myLoadVars.email_address = email_address.text;
myLoadVars.ResidentialArea = ResidentialArea.text;
myLoadVars.sendAndLoad("http://oi.vresp.com?fid=cff35b0b30", myRecVars, "POST");
myRecVars.onLoad = function() {
this.gotoandStop(2);
};
};
stop();
View Replies !
View Related
Issues With A Form And GetURL
Ok, so here is my form http://foreverdown.com/new.php
you can go ahead and try it. (its the mailing list form) and you will see that the email value from the text field is not getting passed. It comes up and says that email is undefined. here's my action script.
Code:
mcSubmitML.onRelease = function():Void {
formDataML = new LoadVars();
formDataML.email = emailML.getValue();
formDataML.action = actionML.getValue();
getURL("mailinglist/maillist.php?"+formDataML, "_blank", "post");
}
I have a text field with instance name emailML and the radio buttons are actionML. the action gets passed just fine, but the email doesn't make it. I tried using the textfield component and got the same error, so I switched it back to the input text field. I also tried formDataML.email = emailML.getText(); but that didn't do anything either.
Anyone know what I am doing wrong? Thanks in advance!
View Replies !
View Related
Mail Form Issues
I dont know why but i am having trouble a mail form. I think it has to do with the fact that I am loading into a mc target.
ActionScript Code:
on (release) {
var varsMailIn = new LoadVars();
var varsMailOut = new LoadVars();
varsMailIn.onLoad = function(success) {
if (success) {
note.msgStatus.text = varsMailIn.estado;
} else {
note.msgStatus.text = varsMailIn.estado;
}
};
if(!name.length){
note.gotoAndStop("name");
} else if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1){
note.gotoAndStop("email");
} else if(!message.length){
note.gotoAndStop("message");
} else {
varsMailOut.name = name;
varsMailOut.email = email;
varsMailOut.message = message;
varsMailOut.sendAndLoad("formContact.php", varsMailIn, "POST");
note.gotoAndStop("sent");
name = "";
email = "";
message = "";
}
}
it works fine on everything else but its not working here. can someone see the problem?
View Replies !
View Related
Flash Form, CGI Connection Issues
I'm not seeing any traffic, that's why I think I'm having connection issues. I'll try and change a few things to reflect this below and see what happens.
The flash file is located at: www.xxxx.com/company/io
So to reflect that location I'll change the CGI URL from absolute to standard: ../../cgi/common/form-mail.pl
View Flash form here
on (release) {
formData = new LoadVars();
formData["PTCcode-email"] = "yes";
formData["PTCcode-flatfile"] = "yes";
formData["PTCcode-database"] = "job_description";
formData["PTCcode-recipient"] = "xxxx@xxx.com";
formData["PTCcode-subject"] = "Form information";
result = new LoadVars();
result.form = this;
result.onLoad = function() {
this.form.first_name = this.first_name;
this.form.last_name = this.last_name;
this.form.email = this.email;
this.form.phone = this.phone;
this.form.comments = this.comments;
}
formData.sendAndLoad("http://www.xxxx.com/cgi/common/form-mail.pl",result,"post");
this.gotoAndStop("Sent");
}
If anyone see's anything that might be causing a problem please let me know.
Thanks -Rob
View Replies !
View Related
[CS3] Flash Email Form Issues
Hello again everyone one Been a while.
Alright heres how it is,
I hav this flash file utalizing some code to parse some information through php to send an email, BUT when i send the email i get the following in my inbox...
This is the email i receive Not code... at elast its not supposed to be...
<TEXTFORMAT LEADING="0"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">testing purposes only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="0"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">2354 sdfg</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="0"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">erwerg</FONT></P></TEXTFORMAT>
Now the code in my flash is as follows
On my submit btn
Code:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("geemail.php","POST");
}
on my form item MC
Code:
onClipEvent(data){
_root.gotoAndStop(20);
}
this basically brings the flash to a frame that thanks you for your input
and lastly the PHP code
Code:
<?php
$sendTo = "urbanfoxmedia@gmail.com";
$subject = "My Flash site reply";
$headers = "From: " . $_POST["name"] . "<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"] . $_POST["address"] . $_POST["how"];
mail($sendTo, $subject, $message, $headers);
?>
inside my Form the text fields have a variable name each associated with the information to be passed to php
'name'
'email'
'phone'
'address'
'how'
'message'
so why is it replying to me with all that font face gibberish?.
View Replies !
View Related
Input Form Issues With Flash Mx
Hi I'm building a site and I have 2 input forms, a contact and mailing list form.
The issue I'm having is when someone uses the form and sends it off, the details they have put in remain there when they return the form.
check it at
http://www.the-undersided.com/main.html
if you can help me I would be most greatful.
thanks
View Replies !
View Related
FLASH & PHP Contact Form Issues (AS 2.0)
Can anyone help me figure out how to add a second message box to the code below.
This is a Flash contact form that uses PHP to send an email. The form works fine, but I've been trying to figure out the code to add a SECOND message to my email.
Currently when I run and fill out the form, I get the email, subject and message, but I want to add a second message field, let's call it message2.
Here is the Flash and PHP code:
//////------Flash AS 2.0------------////////
stop();
send_btn.onRelease = function() {
my_vars = new LoadVars();
my_vars.sender = email_box.text;
my_vars.subject = subject_box.text;
my_vars.message = message_box.text;
if (my_vars.sender != "" and my_vars.subject != "" and my_vars.message != "") {
my_vars.sendAndLoad("mailer.php", my_vars, "POST");
gotoAndStop(2);
} else {
error_clip.gotoAndPlay(2);
}
my_vars.onLoad = function() {
gotoAndStop(3);
};
};
email_box.onSetFocus = subject_box.onSetFocus = message_box.onSetFocus = function () {
if (error_clip._currentframe != 1) {
error_clip.gotoAndPlay(6);
}
};
//////------PHP code------------////////
<?php
// read the variables form the string, (this is not needed with some servers).
$subject = $_REQUEST["subject"];
$message = $_REQUEST["message"];
$sender = $_REQUEST["sender"];
// include sender IP in the message.
$full_message = $_SERVER['REMOTE_ADDR'] . "
" . $message;
$message= $full_message;
// remove the backslashes that normally appears when entering " or '
$message = stripslashes($message);
$subject = stripslashes($subject);
$sender = stripslashes($sender);
// add a prefix in the subject line so that you know the email was sent by online form
$subject = "web visitor:".' '.$subject;
// send the email, make sure you replace email@yourserver.com with your email address
if(isset($message) and isset($subject) and isset($sender)){
mail("you@yourdomain.com", $subject, $message, "From: $sender");
}
?>
View Replies !
View Related
Input Form Issues With Flash Mx
Hi I'm building a site and I have 2 input forms, a contact and mailing list form.
The issue I'm having is when someone uses the form and sends it off, the details they have put in remain there when they return the form.
check it at
http://www.the-undersided.com/main.html
if you can help me I would be most greatful.
thanks
View Replies !
View Related
Mail Form Issues - Not The PHP File, But The AS
Hey Everyone....
im so stumped. I did the Mail Form tutorial, it wasnt sending the email information... so i went back and read the mistakes post on it and fixed my PHP to have the '$_POST[]' added on. still wont work.
I have started from scratch countless times, and just can not get it to send me the email. Well, i should be more specific. it sends the email, but in each name, email and message part it says 'undefined' and the email its coming from is mailto:'undefined@tigertech.net' (Tiger Tech is my host)
So to eleminate all options, i emailed Tiger Tech my problem and the PHP, and they said the PHP was fine and works on their server so the problem lies within my fla file.
I have been up and down the mistake post on the email and can not find an answer there... so I would LOVE someones help as i am about to toss my computer out the window.... well maybe not that extreme :wink:
Heres my AS... buttons and all:
Code:
stop ();
b1.onRollOver = over;
b1.onRollOut = out;
b1.buttText.buttonText.text = "portfolio";
b1.onRelease = function(){
gotoAndPlay("portfolio",1);
}
b2.onRollOver = over;
b2.onRollOut = out;
b2.buttText.buttonText.text = "resume";
b2.onRelease = function(){
gotoAndPlay("resume",1);
}
b3.onRollOver = over;
b3.onRollOut = out;
b3.buttText.buttonText.text = "about";
b3.onRelease = function(){
gotoAndPlay("about",1);
}
bHome.onRollOver = over;
bHome.onRollOut = out;
bHome.buttTextHome.buttonHome.text = "Brayton Graphics";
bHome.onRelease = function(){
gotoAndPlay("home",1);
}
function over (){
this.gotoAndPlay(2);
}
function out (){
this.gotoAndPlay(7);
}
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
sender.onRelease = function() {
senderLoad.theName = $_POST['theName'].text;
senderLoad.theEmail = $_POST['theEmail'].text;
senderLoad.theMessage = $_POST['theMessage'].text;
senderLoad.sendAndLoad("http://www.braytongraphics.com/newbranding/send.php",receiveLoad);
}
receiveLoad.onLoad = function() {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
PS... when the message is sent, the 'message sent screen' DOES show up which makes this evern more frustrating for me
THANXS in advance!!!!!! :)
View Replies !
View Related
Contact Form Hanging Issues
With my website, one of the external swf files I have is a contact page. I tried using the files from the contact form tutorial and by itself, the contact page works but when linked within my index.swf file, the contact form hangs once a user submits information.
I tried using the default loading external swf tutorial files with the default contact form files and I get the same problem. (Just the two, not with my site)
For both website versions, it sends an email, but it never changes to the "sent" or "failed" messages. In the status bar for the browser it just continues to say "sending.. etc" (whatever the exact words are)
I'm trying to figure out the problem with the default files from this site before I apply it to my own but I don't know what's wrong.
Any ideas?
View Replies !
View Related
Php Email Form Tabbing Issues
I Figured it out
it all had to do with the tabEnabled function
it was a lot more simple than I thought....
simply did not know the function to research
thanks for the point in the right direction.
I simply added
Code:
contact2_btn.tabEnabled = false;
contact1_btn.tabEnabled = false;
to the top of my AS and it concentrated the tabbing to the php and not the buttons.
I will leave this here for others.
**** original Issue which is now solved *****
I am having some issues with a php email form that I am using in my AS3
project.
the form works perfect and all communication is good.
however when the user is on the page and wants to tab to the next text
field it jumps to one of my hyperlinks on the same page and not to the next
text field down on the php form.
is there any way to stop this from happening.
I have tried placing the php form on a seperate layer in a seperate mc
and I have done the same with the hyperlinks but all with no luck
you can see what I mean by visiting this development site.
(after entering go to contact)
[url="http://www.andybarnesphotography.com/dev5"]http://www.andybarnesphotography.com/dev5[/url]
any help would be greatly appreciated.
View Replies !
View Related
Question - Flash Email Form Issues
howdy one and all
i've been trying to make a flash email form - rather like the one in the tutorial on the website - but have encountered some difficulties that i can't seem to find the cause for.
It's pretty obvious what's going on in the file - user types in details, presses button, vars get POSTed to php file and that sends an email. I've made my form function in exactly the same way as kirupa's - but, his works, and mine doesn't
does anyone know what the problem could be?
fla: www.farrellsestateagents.co.uk/or_exp.fla
php file: www.farrellsestateagents.co.uk/or_mail.txt (as text so you can see the code, might be something wrong with that as i've never really used php before )
View Replies !
View Related
Issues With Form Fields, Using A Swap Movie Clip
I have a preloader, movie and then a separate form .swf. Following some of the tips I have read here I made the preloader it's own movie that loads in the main movie into it using loadmovie. Now inside that main movie I have a swap MC that when the movie is finished it loads the form .swf. Everything works very well, except the form fields(input text boxes) are not showing up at all in the main movie once the form .swf is loaded. The rest of the form .swf's graphics and text labels show up, just not the form fields. If I run the form .swf separately I get the form fields. Seems I only lose the form fields when it is loaded into the main move. I have looked and looked and I cannot figure this out.
I appreciate any input anyone can give to help me with this issue.
View Replies !
View Related
Form Mail Issues/ PHp Data Send Question
I am building a back engineered PHP mailer for a form I am adding to a website I am trying to build. The actionscript goes like this:
on (release) {
if (name_txt.text eq "" or phone_txt.text eq "" or email_txt.text eq "" or academic eq "" or when eq "" or flat_txt.text eq "" or group_txt.text eq "" or question_txt.text eq "") { // I am using instance names for the text fields and referencing the contents by
stop();
} else {
lineAdapt();
mailVars = new LoadVars();
mailResults.onLoad = function() {
if (this.status == "mailSent") {
gotoAndStop("Quick App",2);
} else { stop();
}
};
mailVars.subject = title_txt.text, name_txt.text;
mailVars.message = name_txt.text, phone_txt.text, flat_txt.text, grou_txt.text, question_txt.text;
mailVars.from = email_txt.text;
mailVars.sendAndLoad("http://www.lightmode.com/Irving/mail.php", mailResults, "GET");
}
}
I don't think I have the syntax correct for sending more than one variable to the message area what should I use for mailVars.message =
instead of what I used which was commas, and obviously that didn't work...
View Replies !
View Related
Loading Movie IsSues And Other Issues
i have a main movie and i when an name is cliked on the navigation bar i would like the new movie to load. so there are seeral issues i am having..
1. i am not sure if i am doing this correctly - i am trying to use tutorials.
2. when i load the "services" movie my text will not show up either.
3. i need help by some one that has a lot will be nice i am in a learning phase
CAN SOME ONE PLEAE HELP
THIS IS THE LINK - GIV EIT AINUTE I HAVE NOT PUT ANY PRELOADERS UP YES. I CAN SEND THE FLA FILES FOR MORE HELP
View Replies !
View Related
Browswer Size Issues + New "FlashObject" Detection Kit Sizing Issues
Hi,
After a few years of trying to learn Flash there is one aspect that really still remains a grey area to. What size to publish a movie.
Do I look to make my movies a set size on publishing – by using “Match Movie” & if so what should that set size be – 800 x 600?
I know of 3 other ways to get round the browser size issue
1.) Use the “Stage Object” in conjunction with onResize to allow some clips to fill a screen while keeping others to a set size.
2.) Ascertain a users browsers size & direct them to an appropriate version of your site.
3.) Scale your movie according to an ascertained browser size so if the movie was designed @ 1020 x 760 & the user has an 800 x 600 you scale the main movie accordingly using x & y scale.
The problem has been somewhat complicated for me by the introduction of Geoff Stearns brilliant “FlashObject” detection kit. With that you have to specify the size of the element that the Flash movie will load into & also set a fixed size for the Flash movie. From what I can see this will cut out the option of publishing a movie @ 100% & resizing or not resizing using the stage object.
Could someone please advise me of what is best practice as far as sizing is concerned.
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
Form Application, How To Make Not Clickable Thing In Parent Form
I am making a form application and in one form i have some child forms.
When i open (make visible) one of the child objects all the clickable items in the parent form are still working.
how can i "deactivate" them?
i have seen that it happens the same not only with parent-child forms but also with the "brothers" forms, even if the clickable items are not shown.
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
Loading Issues & FLV Issues
Sooo, I've finally, after fours days (including two on the weekend), managed to build a .swf that will play FLVs within the Crisp Template....however, I have come across two problems:
1. the FLVs continue to play when you click on other menu items. How can I stop the FLV from playing with a command from the _root timeline to a timeline in a completely different swf? and where would that code be placed within the menu button actionscript?
2. I'm using Actionscript 2.0 and the FLV Behaviors "Set Video List" option. The FLVs are loaded dynamically, but I only want them to load upon request, otherwise it takes 10 minutes to load the page due to the number/volume of FLVs. Is there a way to code the "ready" event handler so that it doesn't fully load? The code I currently have in is:
// Set a 'ready' event handler to load the videos
videos.ready = function( evt:Object ):Void
{
if(!this.loaded){
this.loaded = true;
for( var n=1; n<this.list.length; n++ ){
if( videos.list[n].indexOf(".flv") != -1 ){
m.activeVideoPlayerIndex = n;
m.contentPath = videos.list[n];
this.length++;
}
}
m.activeVideoPlayerIndex = 0;
}
}
m.addEventListener("ready",videos);
// End Set Videos Behavior
What needs to change to make this happen?
Please see: http://www.kimiporter.com/hydeparktest/ to witness both errors in action
View Replies !
View Related
[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
View Replies !
View Related
Form Tab To Auto Scroll Form
I have created a long form that the user needs to scroll down to view and fill in. At the moment the user needs to operate the scroll bar with the mouse when they come to the end of the visible section. i would like the user to be able to tab through the text fields and the form to auto scroll up so the text field is visible.
Any ideas????
View Replies !
View Related
Reseting A Form...validating A Form
i have an address book online. Users can add/edit/delete at will. All great, but i need to validate a few of the buttons. Thus far, if a user adds an entry, opon the lvConfirm, the form visualy resets with the original text ("Name", "Number"). That is great, but lets say the user then decides to click the update button...well, while the form says name and number, a duplicate entry is entered. Worse, if instead the user clicks delete, it will delete the last entered entry....not desired...any ideas on how to validate this form so after an enter/update/or delete the forms variables are cleared?
Code:
var lvGet:LoadVars = new LoadVars();
var lvConfirm:LoadVars = new LoadVars();
var lvConfirmSearch:LoadVars = new LoadVars();
mcAddEntry.onRelease = function() {
if(inputName.valid!=true || inputNumber.valid!=true){
txStatus.text="not valid entry";
}else{
lvGet.leaderName = newName;
lvGet.leaderNumber = newNumber;
lvGet.sendAndLoad(rootURL+"insertEntryToPhonebook.php", lvConfirm, "GET");
}
};
lvConfirm.onLoad = function(success) {
if (success) {
leaderlist.load(rootURL+"getphonebook.php");
inputName.text = "name";
inputNumber.text = "number";
dragger._x=0
selectedDays=[];
lvGet.leaderName=""
lvGet.leaderNumber="";
}
};
//______________________________________________________________________________edit entry
mcUpdate.onRelease = function() {
if(inputName.valid!=true || inputNumber.valid!=true){
txStatus.text="Please update at least one field";
}else{
lvGet.leaderName = newName;
lvGet.leaderNumber = newNumber;
lvGet.Id=leaderId;
lvGet.sendAndLoad(rootURL+"editEntryById.php", lvConfirm, "GET");
}
};
View Replies !
View Related
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.
View Replies !
View Related
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.
View Replies !
View Related
[AS] [Form] Simple Form Check ?
Hi.
I got a form for my website and i want flash to check it wether any of the fields is empty.
This is what i got so far, but i does not do anything:
Note: i got 8 fields in my form with the vars: vname, nname, strasse, hnr, plz, ort, telefon and email.
ActionScript Code:
if (vname != "" && nname != "" && strasse != "" && hnr != "" && plz != "" && ort != "" && email.indexOf("@") != -1 || email.indexOf(".") != -1) {
loadVariables("http://www.incorp.de/info.php", "", "GET");
gotoAndStop(3);
_root.regid = 1;
} else if (vname == "") {
gotoAndStop(2);
reg.fehler = "Bitte tragen Sie einen Vornamen ein.";
} else if (nname == "") {
gotoAndStop(2);
reg.fehler = "Bitte tragen Sie einen Nachnamen ein.";
} else if (strasse == "") {
gotoAndStop(2);
reg.fehler = "Bitte tragen Sie eine Adresse ein.";
} else if (hnr == "") {
gotoAndStop(2);
reg.fehler = "Bitte tragen Sie eine Hausnummer ein";
} else if (plz == "") {
gotoAndStop(2);
reg.fehler = "Sie haben die Postleitzahl vergessen.";
} else if (ort == "") {
gotoAndStop(2);
reg.fehler = "Sie haben den Wohnort vergessen.";
} else if (email.indexOf("@") == -1 || email.indexOf(".") == -1) {
gotoAndStop(2);
reg.fehler = "Bitte prüfen Sie Ihre E-mail Adresse";
}
Why doesn't it work?
View Replies !
View Related
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.
View Replies !
View Related
Form (Form + Script)
Hello. I am in need of help with creating a functional form. I have been working on making one work for a very long time except with no success. I am not understanding many of the tutorials, movies, and searching many places. All of the tutorials really never explained anything. I have searched just about everywhere for an answer, and this is my last resort.
I have made an example form, just a test and added a script I found but substituted the variables. Yet, it does not work.
I would like to know, what am I doing wrong? (Bit general question)
Also, when I open up the example script, it opens with SimpleText, change the necesary variables, and save it.
Is this acceptable, the script is just a text file?
Could someone fill some holes in for me?
View Replies !
View Related
Moving From Form To Form.
Ok total noob here.
Just started a form based project. My first form is a splash screen, which plays a animation. Whats the best way, at the end of the animation to goto the next form?
Also do I have to unload/load forms or can i just hide and unhide them.
Thanks in advance
View Replies !
View Related
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!?
View Replies !
View Related
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!!!
View Replies !
View Related
AS2 Form Data To ASP Form
I've scoured the forum for a possible solution and nothing I've found seems to work. I have a form in Flash AS2 that I want to pass that data to an ASP page where it's processed, but it should also send the user to that page.
FLA has two form fields "userName" and "pword"
My actionscript looks like
buttonSubmit.onRelease = function() {
myVars = new LoadVars();
myVars.userName = regFields.userName.text;
myVars.send("login.asp","_self","POST");
}
I've even tried just using the getURL("login.asp","_self","POST"); method and I cannot get the variable info to send to the page.
I've also tried sendAndLoad too with no success as that won't send the user to the next page.
View Replies !
View Related
|