Post Form And Go To Url Help Please
Code:
function sendData():void {
var request:URLRequest = new URLRequest( "http://www.myurl.com" );
var variables:URLVariables = new URLVariables();
variables.first_nam = nameBox.text;
variables.mail = emailBox.text;
variables.tracking_tag ="sandsurfvillas";
variables.id='32';
request.data = variables;
request.method = URLRequestMethod.POST;
//navigateToURL (request, "_self");
sendToURL(request);
var variables:URLVariables = new URLVariables();
}
I've tried the navigatetoURL with the sendToURL, but it just sends me to the page no variables sent, and with out the variables the page will not redirect to the next page properly. PLEASE ANYONE HELP!
KirupaForum > Flash > ActionScript 3.0
Posted on: 07-01-2008, 12:18 PM
View Complete Forum Thread with Replies
Sponsored Links:
Can I Use This Form Post Tag?
i need to use a Perl script to submit meail. This is what is being used in an html page submit button for the same script that i am using with my flash movie's button:
<form action="fmailer.pl" method="POST">
<input type=hidden name="recipient" value="info@domain.com">
Can i use this in Flash?
(i have asp form mail, but unfortunately for this particular situation have no other choice)
View Replies !
View Related
Form To Post Asp
Please Help!
I am trying to create a form in flash for people to subscribe to my emaillist. I got someone to create an .asp for me, I just have to implement the actionscripts on the button in flash to have it talk to it. Nothing is working (but i did get dynamic text to work). I don't know what I am doing (or doing wrong) can somebody help?! I'm using Flash 5.
I've created an "editable text" and variable and a button: I just think I might have the script wrong.
I've tried the Get Url (POST):
on (release) {
getURL ("http://66.242.133.142/jcb/addemail.asp ", "Email", "POST");
}
orLoadVariable:
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {
Message = "Please enter a valid E-mail address";
} else {
loadVariablesNum ("http://66.242.133.142/jcb/addemail.asp", "Email", "POST");
Message = "Thank you for subscribing!";
}
}
Can you see what I am doing wrong?
The text form variable is "Email"
can anyone help?!
please.....
View Replies !
View Related
Post Form To Asp
I`m just trying to send 3 form values to an asp page that I then have a redirect to another page.
On the submit button I have the code
on (press) {
loadVariablesNum("stepone.asp", 0, "GET");
}
and within flash it appears to send the values as it says it cant find the page stepone.asp?txttobacco=0&txtcigarettes=0&level=0
However when I upload to my server, and click the button it dosnt do anything!
Help!
View Replies !
View Related
Post Form From Swf?
Hi,
This is a tall order but ill ask anyway
Can I use this in flash, i need to add one of these code generated pay pal buttons in my swf.
Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="teddyrichards@hotmail.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="The Longest Mile (9-song cd single)">
<input type="hidden" name="amount" value="10.00">
<input type="hidden" name="shipping" value="3.50">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but9.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" align="middle">
</form>
thanks
View Replies !
View Related
Form Post
Please help how can i make it so that this form gets emailed to me when people have filled it in my email address is: forummakerpro@hotmail.co.uk
PHP Code:
<html>
<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Main Information</title>
<style>
<!--
td { font-family: Verdana, Arial, Helvetica, sans-serif }
.bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; }
.forumline { background-color: #FFFFFF; border: 2px #006699 solid; }
td.row1 { background-color: #EFEFEF; }
.postbody { font-size : 12px; line-height: 18px}
-->
</style>
</head>
<body>
<form method="POST" name="Forum Registration" action="%20%20%3C!--webbot%20bot="SaveResults" u-file="N:Shaun Hoare.htm" s-format="HTML/BR" s-label-fields="TRUE" b-reverse-chronology="FALSE" s-email-format="TEXT/PRE" s-email-address="forummakerpro@hotmail.co.uk" b-email-label-fields="TRUE" b-email-subject-from-field="TRUE" s-email-subject="Forum registration" s-builtin-fields --> <p align="center">
<b>Main Information</b></p>
<p align="center">Username: <input type="text" name="T1" size="20"></p>
<p align="center">Password: <input type="text" name="T2" size="20"></p>
<p align="center">Password (verify): <input type="text" name="T3" size="20"></p>
<p align="center">Email address: <input type="text" name="T4" size="20"></p>
<p align="center">Email address (verify):
<input type="text" name="T5" size="20"></p>
<p align="center"><b>Forum Information</b></p>
<p align="center">What Forum offer would you like: <select size="1" name="D1">
<option selected>Free</option>
<option>member £10</option>
<option>professional £50</option>
</select></p>
<p align="center"><b>Additional Information</b></p>
<p align="center">Name: <input type="text" name="T6" size="20"></p>
<p align="center">Date Of Birth: <input type="text" name="T7" size="20"></p>
<p align="center"><span class="postbody">What would you like your url to be
(only for members and profesionals):
<a href="http://[/b]" target="_blank" style="color: #006699">[url]http://[/url]</a></span></p>
<p align="center"><input type="submit" value="Submit" name="B1"></p>
</form>
</body>
</html>
View Replies !
View Related
Post Form Via ASP
whats wrong with this AS - it dosen't work! The ASP file it refers to is okay... it posts an email when combined with an html-form...???
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") ==
-1) {
EmailStatus = "Indtast din e-mail adresse";
} else if (!quest1.length) {
EmailStatus = "Svar på spørgsmål 1";
} else if (!quest2.length) {
EmailStatus = "Svar på spørgsmål 2";
} else if (!Navn.length) {
EmailStatus = "Indtast dit navn";
} else if (!Adresse.length) {
EmailStatus = "Indtast din adresse";
} else if (!By.length) {
EmailStatus = "Indtast dit postnr. og by";
} else if (!Telefon.length) {
EmailStatus = "Indtast dit telefonnr.";
} else {
loadVariablesNum("ASPMail.asp", "0", "POST");
EmailStatus = "Tak for dit svar...";
gotoAndPlay("sendt");
}
}
I would be very thankful if anyone could help me with this...
simondo
View Replies !
View Related
Post Form Via ASP
whats wrong with this AS - it dosen't work! The ASP file it refers to is okay... it posts an email when combined with an html-form...???
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") ==
-1) {
EmailStatus = "Indtast din e-mail adresse";
} else if (!quest1.length) {
EmailStatus = "Svar på spørgsmål 1";
} else if (!quest2.length) {
EmailStatus = "Svar på spørgsmål 2";
} else if (!Navn.length) {
EmailStatus = "Indtast dit navn";
} else if (!Adresse.length) {
EmailStatus = "Indtast din adresse";
} else if (!By.length) {
EmailStatus = "Indtast dit postnr. og by";
} else if (!Telefon.length) {
EmailStatus = "Indtast dit telefonnr.";
} else {
loadVariablesNum("ASPMail.asp", "0", "POST");
EmailStatus = "Tak for dit svar...";
gotoAndPlay("sendt");
}
}
I would be very thankful if anyone could help me with this...
simondo
View Replies !
View Related
Post Comments Form
I am a beginner Flash Developer and Im working on my first site. I was wondering if anyone knows where I can find a really cool Post Your Comments Form. I would like to add this element to my website so visitors will be able to post comments either to my email account or directly on the site.
Thanks for all your help,
Toro04
View Replies !
View Related
Additions To The New Post Form - PLEASE USE IT -
Our Flashkit tech guy, JPnyc has been kind enough to give us a new tool in the "New Post" form page that will make everyones life easier. So let's all please use it. What it is, is a series of Radio buttons above the Title entry box for the new post that automatically adds the version of Flash you are using and asking questions about, when you check one of them. And it will show in the main forum listings, in the title of your new thread. Everyone can tell at a glance what version your question pertains to. As you can imagine, this will save a lot of trouble as we go along. So let's all please use this great new feature.
View Replies !
View Related
Additions To The New Post Form - PLEASE USE IT -
Our Flashkit tech guy, JPnyc has been kind enough to give us a new tool in the "New Post" form page that will make everyones life easier. So let's all please use it. What it is, is a series of Radio buttons above the Title entry box for the new post that automatically adds the version of Flash you are using and asking questions about, when you check one of them. And it will show in the main forum listings, in the title of your new thread. Everyone can tell at a glance what version your question pertains to. As you can imagine, this will save a lot of trouble as we go along. So let's all please use this great new feature.
View Replies !
View Related
[F8] I'm Having Problems With A Post Form... PLEASE HELP
Hey everybody,
I'm using a post methd form that I have setup in my flash movie with macromedia Flash 8. The form does work, but there are two things I need help with.
1.) I have all the form objects on one layer, and it's kicking out the info to the email script, perfectly, except for two sets of radio buttons!
The two sets of radio buttons, one called "session" and the other called "verification" and in the email they are listed as such:
session : [object Object]
verification : [object Object]
I need for them to report the selected raido button value instead.
2.) As you will see in the action scripting, I have the form setup to check for required entries, proper email syntax also. If the surfer tries to submit the form incomplete, I have a text box at the bottom Named "EmailStatus" that will tell the surfer to add the required data.
Once the form has been sufficiently filled out, and the email is sent, I want the "EmailStatus" info removed from the data.
Here is the action script:
... attached to submit button:
-----
on (release) {
if (!name.length) {
EmailStatus = "Please enter your NAME before Sending";
}
else if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
}
else if (!company.length) {
EmailStatus = "Please enter your COMPANY before Sending";
}
else if (!occupation.length) {
EmailStatus = "Please enter your OCCUPATION before Sending";
}
else if (!worknumber.length) {
EmailStatus = "Please enter your WORK NUMBER before Sending";
}
else if (!cellnumber.length) {
EmailStatus = "Please enter your CELL NUMBER before Sending";
}
else if (!city.length) {
EmailStatus = "Please enter your CITY before Sending";
}
else if (!state.length) {
EmailStatus = "Please enter your STATE before Sending";
}
else if (!comments.length) {
EmailStatus = "Please enter a COMMENT or a MESSAGE";
}
else {
loadVariablesNum ("action.php", "0", "Post");
_root.vframe = "gallery";
_root.play();
}
}
-----
... attached to reset button:
on (release) {
name = "";
email = "";
company = "";
occupation = "";
worknumber = "";
cellnumber = "";
city = "";
state = "";
comments = "";
EmailStatus = "";
}
-----
... each of the radio buttons has data (which is what that button should be when selected, I think) and all the buttons from each of the two sets has one or the other groupName of "session" or "verification.
I am sure one of the pros here at FlashKit can tell me what I am doing wrong with the radio buttons, and also how i can get the completed form to drop the "EmailStatus" when the form is succesfully submitted.
Thanks,
~Slim~
View Replies !
View Related
Form Won't Post To Php Script
I've created a contact form called contact.swf. This gets loaded into another file called host.swf. I'm trying to send the data from the form fields in contact.swf to a php script that runs on a different domain (and I have no control over this php script). Everything works fine when I run the files locally, but nothing happens when I post the files to the target server.
Here's what I'm using to send:
feedbackpath = "http://www.urlWithThePhpScript.com";
loadVariablesNum(feedbackpath+"?first_name="+first _name+"&last_name="+last_name+"&phone="+phone+"&em ail="+email, 0, "POST");
I also tried changing "loadVariablesNum" to "getURL" - that actually worked (so I know the data is making its way out of the movies), but popped-up a new window which is not ok.
I've really been racking my brain on this one for days. Please help!!
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
Post Form And Variables To Php, Asp Or Cgi
I am trying to post to asp, php and cgi server's pages, but for some reason my actionscript only posts the form's values ignoring the hidden and manually declared variables.
form is at http://www.abogado.co.cr/test/form.fla
actionscript not working:
Code:
on (release) {
var doit:String = "done";
var intl:Number = 1;
var tt:String = "urltext";
getURL("http://www.codeave.com/html/post.asp", "_blank", "POST");
}
later down will need to add also a combobox within the form.. does someone knows how to post the selected option to the web server page from my movie?
View Replies !
View Related
ClickTAG With Form POST
Hi,
I'm stuck...
I've created a flash banner that on rollover changes to a form and onrelease posts the variables - this works fine
My confusion is when I need to include the clickTAG script for adwords tracking.
The code I've used is simple and is the following:
Code:
on (release) {
getURL("(URL address blocked: See forum rules)", "_parent", "POST");
}
----
and the code I need to add for the clickTag is:
Code:
on (release) {
if (clickTAG.substr(0,5) == "https:") {
getURL(clickTAG, "_blank");
}
}
---
If I have both on codes one after the other will google track correctly? Is there another way that I can pass the variables to the URL that is defined in adwords via the clickTAG?
Cheers
Si
View Replies !
View Related
Form Post Data, Downloading MP3's
Flash MX-
I ham trying to accomplish an upload status
bar for the uploading of large MP3 files using a html form and PHP. Unfortunately, with PHP, I
can't get the content length of the form post until after the upload
attempt begins. Getting the content length of the form post (including
the file size) would alleviate this problem.
I was thinking that since
Flash is already embedded in the browser, it would have access to this
file system information.
Does anyone know if this is possible with Flash and how I would do it.
Thanks,
Dave
View Replies !
View Related
POST FLASH VARIBLE TO FORM
I need another set of eyes.
Does this scrip look right? I'm getting no errors but no results.
var artist_name2 = _root.artist_name;
this.onEnterFrame=function(){
forindex.text = _root.artist_name;
}
this.submit.onPress = function() {
loadVariablesNum("
View Replies !
View Related
[Flash 8] Post Graphics To Form?
I have a simple graphics drawing app made in flash; just an onMouseDown event that lets the user draw a simple line drawing - nothing extraordinarily fancy. The movie clip it's being drawn on is called "Line" and is dynamically created when the flash app loads.
Is there a way to export the clients drawing to a separate page via a form post? ...Or a component with flash? Ex: Post the clients picture/line drawing to a print page with other details from the previous page.
Any help is appreciated. Thanks!
View Replies !
View Related
Flash Form Data And Post
I've got a problem with Flash posting form data and I'd really appriciate it if someone could help, I've been fighting with it for way too long.
When I attempt to post form data to a page, Flash passes in zero length strings and I don't get what I need-
on(release){
FormData = new LoadVars();
Formdata.FlashTestValue = FlashTestValue
Formdata.send([PageURL], "_self", "POST");
}
If I change the variables to static values it works, but I'm trying to get form data, e.g. if I replace line 4 with:
Formdata.FlashTestValue = "TEST VALUE"
The data gets through. Does anyone have any suggestions?
View Replies !
View Related
Submitting A Form Using A POST W/ NO Email Spawn
What am I missing to get this action to submit a form to the email below with out spawning an email client?
Thoughts? Examples?
Comment
actions for Comment
on (release) {
url1 = "firstname=" + firstname + "&Lastname=" + lastname +"&email=" + email + "&comments=" + comments;
url = escape(url1);
getURL ("mailto:someone@templatekit.com?body="+url, "", "POST");
tellTarget ("_root") {
gotoAndPlay ("confirm");
}
}
View Replies !
View Related
How To Post A Variables Into Html Form By Flash
Question:
I'd like to use flash to make 3 flash buttons. Each buttons can send a variable to the specific text field in a html form.
the html form is like this:
<form name="bigsmallForm" method="POST" action="/NASApp/opg/buyBigSmall.do">
<p>
<input type="text" name="ticket.stake" size="5" value="0">
<input type="text" name="ticket.line1.betType"value="" >
<input type="text" name="ticket.line2.betType" value="">
<input type="text" name="ticket.line3.betType" value="">
<input type="text" name="ticket.line4.betType" value="">
<input type="text" name="ticket.line5.betType" value="">
<input type="text" name="ticket.multiple" value="1">
</form>
the value will past to each ticket "value"
Anyone can tell me how can I acheive this?
I think using
on(Release){
getURl(.... something post);
}
I am not sure how.
View Replies !
View Related
Post Php Form-data To New (Flash-containing) Window
I'm currently using the following code to open a new window, and embed a flash-game in it.
form page:
Code:
<script>
function sendme()
{
window.open("","myNewWin","width=400,height=400,toolbar=0");
var a = window.setTimeout("document.form.submit();",500);
}
</script>
<FORM name='form' method='post' action="http://www.myurl.com/flash/my_game.php" target="myNewWin">
<INPUT type="button" value="Play Game!" onClick='sendme();'>
</FORM>
my_game.php:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>My Game!!!</title>
</head>
<body bgcolor="#ffffff" style="margin: 0px;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="400" id="My_Game" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="my_game.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="my_game.swf" quality="high" bgcolor="#ffffff" width="400" height="400" name="My_Game" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
Highscores etc are loaded from an external php-file. The problem is, that I have a php variable on the form-page (if the visitor is logged in or not), and that I need to send it to the swf while submitting the form.
Can this be done?
I'm guessing I need to include [print("&player_logged=$logged");] somewhere, but putting it in my_game.php either doesn't work, or stores the entire html-code inside the flash variable.
For the record, other MySQL-based data is loaded like this (through a simple select on select.php):
Code:
myData = new LoadVars();
myData.onLoad = function(){
highscores();//call the function
};
myData.load("select.php");
highscores = function(){
hc_name0.text = myData.player_name0;
hc_score0.text = myData.player_score0;
hc_name1.text = myData.player_name1;
hc_score1.text = myData.player_score1;
hc_name2.text = myData.player_name2;
hc_score2.text = myData.player_score2;
hc_name3.text = myData.player_name3;
hc_score3.text = myData.player_score3;
hc_name4.text = myData.player_name4;
hc_score4.text = myData.player_score4;
hc_name5.text = myData.player_name5;
hc_score5.text = myData.player_score5;
hc_name6.text = myData.player_name6;
hc_score6.text = myData.player_score6;
hc_name7.text = myData.player_name7;
hc_score7.text = myData.player_score7;
hc_name8.text = myData.player_name8;
hc_score8.text = myData.player_score8;
hc_name9.text = myData.player_name9;
hc_score9.text = myData.player_score9;
myscore.text = _root.score; //Your score
};
View Replies !
View Related
POST Variables - Contact Form With Radio Buttons
Greetings,
I found this same querry in an archived post but the solution was not provided so I will make my own post.
I have a basic contact form. It contains the standard name, email, subject, and comments boxes. When you click submit it POST variables to a PHP form and then forwards info to email address with the PHP form. Pretty basic stuff.
Now heres my problem. I have been asked to include selections within the contact form. I have determined that the use of labled radio buttons will do the job. Each button will have its own label and the user can simply check which button he likes and then fill out the rest of the form and hit submit.
Forever Indebted,
View Replies !
View Related
LoadVariables Doesnt Post To Script For Contact Form
Using php to send mail from contact form in my flash site.
Im having no luck with it at all...
I cant get flash to even send data to the php file... it doesnt even try to access it.
Plus it egnores my if statements to check fields arnt empty :/
I have 3 dynamic fields, with vars' set as:
f_name
f_email
f_message
In the action of my "send" button has the following script:
Code:
on (release) {
trace("released");
if((f_name != '') && (f_email != '') && (f_message != ''))
{
loadVariables("sendmail.php",0,"POST");
trace("sentvars");
if(output=="sent")
{
trace("ok");
errTitle = 'Thank You.';
errType = "Your message has been succesfully sent.";
} else {
trace("err2");
errTitle = "Error!";
errType = "Sorry an error occured. Please try again later.";
}
_root.gotoAndStop(92);
}
else
{
trace("err1");
errTitle = "Error!";
errType = "Please complete all the fields.";
_root.gotoAndStop(92);
}
}
iv tested my php by posting values to it manually... it works fine.
iv added traces as you can see.
It always gets to "err2" the timeline moves on to 92 and i get the error displayed.
Its almost as if its totally egnoring line:
loadVariables("sendmail.php",0,"POST");
im pretty new to actionscript stuff...
im using MX2004
Any ideas anyone?
Cheers
View Replies !
View Related
"POST" Not Working Correctly With Form
I've looked through all kinds of Flash tutorials on-line but none really answered what probably is an easy fix for this form that I'm making for users to join an email list. I've been trying to do a quick translation from an html form to a flash form but it doesn't seem to be working...It submits fine but I don't think the correct info is getting to the website where I set up an email list. It works perfectly with the html form (code pasted below), now I just have to get it running with flash.
My .fla file is attached
(the .swf as it is now is here: http://filebox.vt.edu/users/jirwin/bombit/mail.swf)
the form html that I used for my html page is here:
<!-- Start Bravenet.com Service Code -->
<form action="http://pub12.bravenet.com/elist/add.php" method="post" style="margin:0px;">
Name (First and Last):<br>
<input type="text" name="ename" size="25" maxlength="60" /><br>
Email:<br><input type="text" name="emailaddress" size="25" maxlength="100" />
<input type="radio" name="action" value="join" checked style="border: 0px;"/>Subscribe <br>
<input type="hidden" name="usernum" style="border: 0px solid black; height: 0px; width: 0px;" value="950300127" /><input type="hidden" name="cpv" style="border: 0px solid black; height: 0px; width: 0px;" value="1" />
<br><input type="submit" name="submit" value="JOIN" />
</form>
It's that value number of "950300127" that I don't think is going through but hopefully someone can enlighten me.
View Replies !
View Related
Form Will Not "POST"
I have written a form which authenticates against an ldap server. It uses a cgi script on the server to accept a "post". ( I actually use a sendAndLoad, but for debugging I fell back to a send)
I'm using Flash MX 2004, actionscript 2.0. The form works great EVERYWHERE but on my production server. For some reason it will not send any data from that server.
Where the URL from anywhere else is:
http://www.mydomain.com/ldapauth.cgi...sswd&User=user
From only this server it's:
http://www.mydomain.com/ldapauth.cgi
Anybody have any ideas why this particular server will not allow the flash form to post anything? (I tried GET too, with no luck)
If I create the form in html, it works fine.
Anybody run into this before? Help!!
Ken
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
[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
Post Or Get Or Post Or Get Or Post Or Get...
i thought i had the differences figured out between using GET or POST while calling a loadVar or a GetURL action.........
i always hear that GET is for sending short string of vars by tagging onto the end of the url........
like myASP.asp?var1=fred&var2=flintstone
and i always hear that POST is for sending a much longer string of variables 'using a separate http header'
what that meant exactly.....i am not sure
but it sounds like a good thing
and it sounds like it doesnt show up in the browser address box like a GET string would
so i have gone on believing these assumptions......until now.....i had the occasion to need to use the POST method
so i did it like this:
loadVariablesNum("submitcontent.asp, 0, "POST");
and i figured flash would send out all of my root variables under the mysterious aforementioned separate http header.......well.....no such dice
so i decided to try this code:
loadVariablesNum("submitcontent.asp?area="+_root.a rea+"§="+_root.sect+"&page="+_root.page+"hot01 ="+_root.hot01+"&hot02="+_root.hot02+"&txt01="+_ro ot.txt01+"txt02="+_root.txt02+"&txt03="+_root.txt0 3+"&txt04="+_root.txt04+"img01="+_root.img01+"&img 02="+_root.img02+"&img03="+_root.img03+"&img04="+_ root.img04, 0, "POST");
basically adding the variable strings i wanted to send to the url.......and it works......
and the whole string shows up in the browser address box
so my pondery is 'why do we need 2 different methods of POST and GET.......when to me.....they appear to require the same syntax and basically accomplish the same thing
the only difference being that when i process them using asp...i have to use
areaSD=Request.Form("a")
for POST
and
areaSD=Request.QueryString("a")
for GET
i hope i am missing something important
i hope someone can illustrate where i am wrong
thanks in advance
[Edited by hansel on 05-06-2002 at 04:41 AM]
View Replies !
View Related
POST
hi there.
i want a movie that opens a browser with some variables passed by parameter. i tried to do this:
var1 = "bah";
var2 = "bah2";
getURL("http://www.test.com/test.asp", "_blank", "POST");
but the browser opens with the variables in the address bar, as if it was passed with "GET". like, http://www.test.com/test.asp?var1=bah&var2=bah. the parameters are 2 passwords, and I don't want them going visible.
i'm doing this using FlashMX and exporting Flash4 SWF's. i believe it isn't a problem, because i'm not using something really advanced.
what's the problem with my script?
thanks so much
Mozart
View Replies !
View Related
POST And GET
Using flash5 here. I made a web site deal, and when you click the button it loads a movie that is the page you goto, but i don't know how to load a movie, AND tell it some variables. How do i tell a diffrent .swf some vars from my main .swf. If this doesn't make sense, tell me and i'll try to calrify.
View Replies !
View Related
This Is Third Post.......
Hi There...
I have uploaded my FLA and TXT file with this entry.
See the code below :
This is what i hace given at first frame.
stop();
loadVariablesNum("sai.txt", 0);
attachMovie("piegraph", "pg", 2);
n=3;
pg._x = 400;
pg._y = 250;
pg._xscale = pg._yscale=scale;
pg.setRadius(rad);
// aValue = new Array();
// aLabel = new Array();
aValue = [_root.headline, _root.link, _root.blurb];
aLabel = ["sai", "tai", "rai"];
for (i=0; i<n; i++) {
pg.addSlice(aValue[i], aLabel[i]);
}
I am taking the values headline, link, blurb from the
external txt file(i.e.sai.txt) which contains code like
headline=40&link=30&blurb=30.
Here in the aValue array if i pass the hard coded
values like
aValue = [40,30,30] then it is working absolutely
fine.
But if i use the external script for variables , it is
not showing the PIE CHART.
I hope that you have understood the problem.
Thank you very much for your time and efforts.
Eagerly waiting for your reply
Saiprasad
View Replies !
View Related
Does Anyone GET This POST?
hi guys,
hope this is simple.
i have a .swf (amovie.swf) playing in a container on level 1 (level 0 is my "menu")
when i click on a button in amovie.swf it loads a different movie (anothermovie.swf) into level 1, using loadmovienum ("anothermovie.swf",1) this works fine.
(i know, i know...where is the quesiton..lol)
welllllll.
now i want to pass a variable (x) from amovie.swf to anothermovie.swf.
(to select a particular picture from an array in anothermovie.swf, dependand on which button is pressed in amovie.swf. my little picture array displays image[x] and associated data)
i thought i could just add a "post" to the end of the loadmovienum, but life just was never designed to be that simple.
no matter what value i give (x) in amovie, anothermovie just displays the same image and data (it is actually image[0], the first image in the array, thats a surprise eh!)
HERE IS THE QUESTION (at last)
am i missing something in the "get" and "post" thing?
do i need to specify which variables i want to pass?
do i have to "get" the variable i want in anothermovie?
do i actually have a life away from this computer?
the answers to these and other questions can be found in the next reply to this thread (i hope)
thanx in adv
Gary_passing everything but var(x)_bydesign
View Replies !
View Related
Anyone GET This POST
hi guys,
hope this is simple. already tried it in mx forum with no luck so thought maybe someone here might help
i have a .swf (amovie.swf) playing in a container on level 1 (level 0 is my "menu")
when i click on a button in amovie.swf it loads a different movie (anothermovie.swf) into level 1, using loadmovienum ("anothermovie.swf",1) this works fine.
(i know, i know...where is the quesiton..lol)
welllllll.
now i want to pass a variable (x) from amovie.swf to anothermovie.swf.
(to select a particular picture from an array in anothermovie.swf, dependand on which button is pressed in amovie.swf. my little picture array displays image[x] and associated data)
i thought i could just add a "post" to the end of the loadmovienum, but life just was never designed to be that simple.
no matter what value i give (x) in amovie, anothermovie just displays the same image and data (it is actually image[0], the first image in the array, thats a surprise eh!)
HERE IS THE QUESTION (at last)
am i missing something in the "get" and "post" thing?
do i need to specify which variables i want to pass?
do i have to "get" the variable i want in anothermovie?
do i actually have a life away from this computer?
the answers to these and other questions can be found in the next reply to this thread (i hope)
thanx in adv
Gary_passing everything but var(x)_bydesign
View Replies !
View Related
|