Sending Information To E-mail
hi, i am just figuring out this whole action script thing, and i was wondering how i can make it so that a person will fill out a certain field, such as "User's Name" and then click a button, which will both take them to the next part of the scene, and also e-mail me the information that they put in the field "User's name" thanks for your help
Ultrashock Forums > Flash > ActionScript
Posted on: 2004-12-07
View Complete Forum Thread with Replies
Sponsored Links:
Sending Information
Hi, i am trying to setup a flash application on my site. I quite a novice at the ole flash so i was wondering if anyone out their could help me. I want to create something that allowed my customers to select a number of options. And then they send this information to me. What would be the best way to go about this, is their any online tutorials or anything like that. Plus are you able to embed paypal into flash.
Thank you very much
Liam
View Replies !
View Related
Sending Information
Hi, i am trying to setup a flash application on my site. I quite a novice at the ole flash so i was wondering if anyone out their could help me. I want to create something that allowed my customers to select a number of options. And then they send this information to me. What would be the best way to go about this, is their any online tutorials or anything like that. Plus are you able to embed paypal into flash.
Thank you very much
Liam
View Replies !
View Related
Sending Information
Hi, i am trying to setup a flash application on my site. I quite a novice at the ole flash so i was wondering if anyone out their could help me. I want to create something that allowed my customers to select a number of options. And then they send this information to me. What would be the best way to go about this, is their any online tutorials or anything like that. Plus are you able to embed paypal into flash.
Thank you very much
Liam
View Replies !
View Related
Sending Information To Mysql
I need to do some testiing on a huge movie I have that has multiple swf's. I want the time, date, and a statement that says "movie1 completed" sent to a database. Does anyone know where I should start? The reason for the testing is to see if people are able to finish the complete movie based on if they have dialup, cable, t1, etc....
View Replies !
View Related
Sending Information To Serial
Hi
Im trying to get my flash app to communicate with the serial port.
I have found a usefull .jar file that opens the com port and allows for data to be sent. When using flash though, it appends a zero to the end of te string... this is causing my external hardware to fail as it is not expecting this last didgit.
How can i get rid of that final byte that flash seems to add?
View Replies !
View Related
Sending Information To A Popup?
If I'm creating a popup using this method:
http://www.kirupa.com/developer/mx/centered_popup.htm
(Or anything else, if it's easier)
Is it possible to send information to another flash file in that popup? I'm building a little xml photo gallery, but I want the pictures to open in a new window when clicked. The path to the picture and a description is loaded from an xml file, is there a way to either send the path and description or send the reference to where to find this info in the xml file to the popup?
Not sure if this is the right place for this...
View Replies !
View Related
Sending User Information From A CD
Hi everybody,
I created months ago an interactive CD using Flash. Now the client wants me to add a new feature to the CD, to get the user contact information, that they will have to type in before their first use of the CD.
My questions are two:
How can I send information from a Flash application in a CD?
How can I make it so this dialog box doesn't appear every time the user uses the CD?
Could anyone please let me know if there are any tutorials, or give me some advice on how to do this?
Thank you very much for your help.
View Replies !
View Related
Sending Information From Flash
Hello,
i was woundering if any one could point me in the direction of a tutorial that could show me how to do the following..
1) take information the user enteres in flash and send it to a php file.
2) php file connects to a database and checks the info to see if its correct
3) if info is correct page changes to the next screen else show error message
thank you in advance
View Replies !
View Related
Help - Code For Send Information To Mail
hi.
i have a problem a can't solve.. please heelp me:
i have a template made of flash and in the page of "contact us"
i have 4 boxes of input text in the stage - for the client phone etc'.
i have a "send" button and a "clear" button under these boxes.
but i don't know the action script for these buttons at all...
please help me by tell me the code for these buttons
(and what kind of email account i can direct this information to: shouls it be a
web mail - like these you get from the hosting company - or it can be a simple email account - like gmail or hotmail..)
thanks a lot from the deep of my heart
amir
amirakdam@gmail.com
View Replies !
View Related
Sending Form-information To .jsp File?
Hey!
This is what I'm up against:
I have a form completely working in a HTML file, a form with radiobuttons, one checkbox and 3 text fields(input fields). And I have now got the assignment to do the same thing but in flash, and I need to send the information in the form to a 3rd partyfile (a register.jsp -file).
The main thing is: how to pass on the form information written by the visitor?
In the html the send-line looks like this:
<form id="updateForm" name="updateForm" action="/register.jsp" method="get"">
I am very greatful for answers!
/Newform
View Replies !
View Related
Sending Information To Data Base
Can you tell me how to send information from ActionScript file to DataBase ?
And if you giving a code or a URL to some code, please give me a explanation of the code.
P.S. I don't speak English very well so if I have stupid errors don't be surprise.
View Replies !
View Related
Sending Form Information To Server
Excuse me everyone for my lack of knowledge.
I am in the process of creating a flash site for friend of mine. He wants to be able to have a guest list for his events in DC. I have created form boxes and have given them all "instance names". But I have absoultely NO clue how to have the text entered by people trying to get on the guest list sent to my server so we can all read it.
I have a book on Flash but it really doest explain how to do it at all. I'm guessing I need to do some actionscript?
The instance names for the boxes are:
Name box --------> nameBox
Event box ---------> eventBox
Email box ---------> emailBox
Guest box ---------> guestBox
Submit Button ---------> submitBtn
The website can be viewed at The Debonair Touch
Please, someone help!!! I am very lost! LOL
View Replies !
View Related
Missing Information While Sending From Flash To Php
I'm not sure how to efficiently describe my problem, but here it goes:
I made a very simple drawing application in flash similar to this one here.
I wanted to save the images the user creates, so I save each action in an array which holds (mouse x position, mouse y position, line width and color).
When the user has finished drawing he/she hits a button and the application converts the recorded actions into a string, f.ex.:
Code:
.194,108,3,0|.141,144,3,0.141,145,3,0.141,146,3,0.142,147,3,0
.142,148,3,0.143,149,3,0.144,151,3,0.146,151,3,0.147,151,3,0|
where a "." denotes a new action and a "|" indicated that the user has released the mouse.
When the user presses the button this information gets sent to a php file via "POST" which then writes it to a text file on the server.
My problem is that the information does not end up correctly in the text file.
Example of a corrupt text file
Code:
.73.6,76.8,3,0.74.7,76.8,3,0.74.7,77.85,3,0.74.7,81
.05,3,0.74.7,88.55,3,0.71
The pattern .X,X,X,X.X,X,X,X... is not there.
I would accept that I had made some programming mistake while exporting the string from flash to php to a text file.. But if I run the application from Flash (using ctrl+enter) the text file created on the server is never corrupt. But if I run the application in a browser either straight from the server or from my computer the text file is always corrupt (I've tried both IE and Firefox).
In the same "POST" I also send a url, which always returns to php without errors, doesn't matter whether I run it in a browser or straight from flash.
I'm completely lost, the only theory I have is that the browser somehow mix up or loose some of the letters I send to the php file.
Any suggestions or similar problems ? Also if anyone thinks posting some of my code might help in solving the problem just ask for which part to post.
Thanks in advance to anyone who actually read this long post
View Replies !
View Related
Sending And Retrieving Information From A Php Script
I was wondering if my logic would work on sending and retrieving information from an external php script.
Basically, I have a form with two comboBoxes and a submit button that opens a movieclip based on the selections made by the user. I want to also save some information in a text file to be used later. So, I was thinking that before I call the loadMovie() function I can send information to a php script where it creates a text file that stores the information that will be used later.
Then, the movieclip that will be loaded and played from the previous submit actionscript contains a couple buttons that when they are clicked will display various messages. I want these messages to be derived from the external text file.
Is this possible?
Thanks in Advance
View Replies !
View Related
Subject: Sending Form-information (to .jsp File)?
Hey!
This is what I'm up against:
I have a form completely working in a HTML file, a form with radiobuttons, one checkbox and 3 text fields(input fields). And I have now got the assignment to do the same thing but in flash, and I need to send the information in the form to a 3rd partyfile (a register.jsp -file).
The main thing is: how to pass on the form information written by the visitor?
In the html the send-line looks like this:
<form id="updateForm" name="updateForm" action="/register.jsp" method="get"">
I am very greatful for answers!
/Newform
View Replies !
View Related
[MX] Sending Information To A Database / Text File / Email Account
Hi guys,
I'm trying to send some information as described in the thread title using XML, but I'm having trouble as I don't know any server side scripting languages that can parse it and pass the information on. Is there any other way I can send the data? Or maybe a ready made script I can add my parameters into?
The code I have so far is:
Code:
myXML = new XML("<Account><User>user.text</User><Pass>pass.text</Pass></Account>");
myXML.send("www.domain-name-here.com/something.php");
View Replies !
View Related
Sending Mail
I have a few dymanic text input boxes, these are for people to type information into. I was wondering if its possible for this information to get sent to a particular person once a "send" button is pressed. Is this possible?
View Replies !
View Related
Sending E-mail
Hi all
Is it possible to send an e-mail automatically using flash. I.e. the user enters the e-mail address and message into some input boxes and clicks send and the e-mail is sent.
Thanks
M
View Replies !
View Related
Sending Mail
I need to know how to send an e-mail using flash and some scripting language the same way that 2advanced does in the contact section of http://www.2advanced.com . I'd prefer some help today, or my dad'll be pissed 'cause it's for his website. Thanks
View Replies !
View Related
Sending Mail
hi
i wud like to kno how to send mail to a specific email address WITHOUT using "mailto:". mayhaps sending from hotmail or yahoo or summat like that?? i saw it on a site somewhere but dont remember. u type in the addy of the recipient and click send mail. a new window opens asking for hotmail password and username. after verification, it goes directly to hotmail compose page. i wud appreciate it if anybuddy wud tell me how to or the site where it can be seen.
thanx
View Replies !
View Related
Sending An E-Mail?
I've seen the tutorial which shows how to set up a e mail form in FLASH.
What do I need to do to simply call a users host e-mail as with the HTML function "mailto:"
I assume I would use the getURL Action ?
Can anybody help?
Thanks
View Replies !
View Related
Sending Mail
ok, here is my problem. I have a simple little email movie, works great when I test it in flash works great when I do a publish preview but when I load it up it does not work?? here is the script I have used on my send button.
on (release) {
loadVariablesNum ("http://www.myaddress.com/cgi-bin/quickemail.pl", 0, "POST");
gotoAndPlay (10);
}
this is being sent to a perl script in my cgi bin. Now the movie that contains the email part is loaded on level 27 and I have changed the level from 0 to 27 but it still will not work right. No I can not place this in level 0 either.
Ok so what am I doing wrong today
View Replies !
View Related
Sending The Right E-mail
I have tried these action to send a mail with mail, subject and body:
getURL(mailto add name add "?subject=" add subject add "&body=" add Your_Message);
I works with Outlook Express, Eudora, but with Outlook on PC the subject and body goes to the same place that the e-mail appears.
There is a way to fix that using the GETURL command?
View Replies !
View Related
Sending An E-mail From Exe?
Hi Everybody
Something that's been puzzling me for a while - sending an e-mail from a exe, created in flash.
I should think that this:
on (release) {
getURL("mailto:jan@unwembi.co.za");
}
should do the trick. But no.
Hope there's an answer out there.
Thanks
j
View Replies !
View Related
Sending Mail Using As And Php.
Hi. I have this contact form where i use as and php to send mails from the site .
My problem is that the site is norwegian, and we have three special characters ( æ, ø and å ).
Now... when i write these into the form everything's ok, but when i send them using the php, these characters is messed up by the time i receive them in my mail. (e.g. "å" is converted to "Ã¥")
Does anybody know how i can fix this?
Thanks alot!
View Replies !
View Related
Sending E-mail
Hi,
I've been looking through many tutorials on how to make a contact form, which sends e-mail directly to me whenever someone types stuff in it and clicks 'Submit'. Unfortunately, most of these tutorials are for AS2, and therefore don't work in AS3, so I've tried to modify the code with the limited AS3 knowledge that I have, and this is what I got:
Code:
import flash.text.TextField;
var msgsent;
var missing;
msgsent.visible = false;
missing.visible = false;
var addr;
addr.visible = false;
var contact_php_file = "flashEmailer.php";
var n;
var e;
var m;
send_btn.addEventListener(MouseEvent.MOUSE_DOWN, checkForm);
function validateEmail(address) {
// Check address length
if (address.length>=7) {
// Check for an @ sign
if (address.indexOf("@")>0) {
// Check for at least 2 characters following the @
if ((address.indexOf("@")+2)<address.lastIndexOf(".")) {
// Check for a domain name of at least 2 characters
if (address.lastIndexOf(".")<(address.length-2)) {
// If all the above tests pass, the email address is in valid format
return true;
}
}
}
}
// Called if the email fails
return false;
}
function checkForm() {
n = form.name_txt.text;
e = form.email_txt.text;
m = form.msg_txt.text;
if (m != "" && e != "" && validateEmail(e)) {
sendEmail(n,e,m);
} else {
gotoAndStop(5);
}
}
function sendEmail(n, e, m) {
var session;
session = "?nocache="+Math.random();
var contact_lv = new URLLoader();
contact_lv.name = n;
contact_lv.email = e;
contact_lv.message = m;
contact_lv.key = "email";
trace(n+" - "+e+" - "+m);
contact_lv.load(contact_php_file+session,contact_lv,"POST");
contact_lv.onLoad = function(success) {
if (!success) {
return trace("Error calling PHP File!");
} else {
gotoAndPlay(10);
}
}
trace("did it work?");
}
stop();
The compiler doesn't complain, so I assumed it would do SOMETHING, but after my movie loaded and I went to my contact us section, this came up in the output (without me typing anything in the text fields or clicking submit):
TypeError: Error #1010: A term is undefined and has no properties.
at sushisho_fla::email_36/sushisho_fla::frame1()
I checked line 36 and all it is is the variable declaration for name:
Code:
Line 36: n = form.name_txt.text;
I am absolutely stumped. Anyone?
View Replies !
View Related
Sending Mail With PHP Help
I tried this tutorial but it didn't work, it didn't send my e-mail and also it didn't go to message failed or message sent.
This is what I did on actions-
Code:
stop();
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
sender.onRelease = function() {
senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.theMessage = theMessage.text;
senderLoad.sendAndLoad("http://blez.coldcave.com/send.php",receiveLoad);
}
receiveLoad.onLoad = function() {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
And this is what i did on send.php-
Code:
<?PHP
$to = "belz_e3@hotmail.co.uk";
$subject = "Belz-Production Has Recieved An E-mail";
$message = "Name: " . $theName;
$message .= "
Email: " . $theEmail;
$message .= "
Message: " . $theMessage;
$headers = "From: $theEmail";
$headers .= "
Reply-To: $theEmail";
$sentOk = mail($to,$subject,$message,$headers);
echo "sentOk=" . $sentOk;
?>
Can you tell me what I did wrong please.
View Replies !
View Related
Sending Mail With PHP
I have followed the tutorial to the letter, and tested the fla through flash and I get, message sent, but after uploading it to my website, I fill out the & it gives me the "message failed" text after clicking the button.
this is the code
This is my code php
<?php
$to = "solis@lamejormagazine.com";
$subject = "Forma para Suscripcion";
$message = "Name: " . $_POST['theName'];
$message .= "
Email: " . $_POST['theEmail'];
$message .= "
Phone: " . $_POST['thePhone'];
$message .= "
Message: " . $_POST['theMessage'];
$headers = "From: " . $_POST['theEmail'];
$headers .= "
Reply-To: " . $_POST['theEmail'];
$sentOk = mail($to,$subject,$message,$headers);
echo "sentOk=" . $sentOk;
?>
& this is the code
stop();
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
sender.onRelease = function() {
senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.thePhone = thePhone.text;
senderLoad.theMessage = theMessage.text;
senderLoad.sendAndLoad("http://www.lamejormagazine.com/send.php/",receiveLoad);
}
receiveLoad.onLoad = function() {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
SO i GET THE MESSAGE "MESSAGE FAILED" ANY BODY KNOWS HOW TO FIXIT???
View Replies !
View Related
PHP MAIL NEVER SENDING
ok i know this has been a huge discussion about the tutorial on sending mail through php, but i have a problem that no one else seems to have. every time i test my movie, i always get my "message did not send" scene along with no email. it has never said message was sent suceesful. and if i test the movie in flash, it always says "cannot find url (http://www.mywebsite.com/send.php)" in the output window.
I have the send.php file right on the main directory of my server, right next to where my index.html file is and all my swf's. and i have changed the url in the actionscript. but still it never wants to find it. is this a godaddy thing? (thats my server). do i need to set up something in order to use php on my server? I'm so confused. Thanks ahead of time!!!!!
View Replies !
View Related
Sending Mail With PHP
Hi!!
I made the tutorial, and he function well!
I have the a problem whith this:
1?- I have swf where this represented the mail, when I tested functions pretty!
Code of actionscript:
Code:
stop();
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
sender.onRelease = function() {
senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.theMessage = theMessage.text;
senderLoad.sendAndLoad("http://www.idesign.pt/teste/sent.php",receiveLoad);
}
receiveLoad.onLoad = function() {
if(this.sentOK) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
2?-I have another one swf, that he is the master, who contains to holder, and in this holder he goes to open swf "mail", so that it does not function when I try to send the mail!
He will be for having:
Code:
receiveLoad.onLoad = function() {
if(this.sentOK) {
[u]_root[/u].gotoAndStop("success");
}
else {
[u]_root[/u].gotoAndStop("failed");
}
}
_root???!!!
What I have To make?
Thanks Everyone!!!!!! :wink: :D
View Replies !
View Related
Actions For Sending Mail
I need to assign to a symbol the action of sending a mail when pressed. I have a button that says ´contact us´ and I want to open outlook express and put an specific e-mail address, when the button is pressed.
Need help
thanks
View Replies !
View Related
Problems With Sending Mail
Hello,
I have a flash web page, but my ISP don't let-me put there cgi-bins, ASP or PHP. I have a form build with flahs and i can't send the forms results by e-mail.
I know that exists some cgi-bin in the internet that we can use, but i don´t find them.
Can you help me sending a e-mail in a flas web page?
Thanks
View Replies !
View Related
Sending Info To E-mail Box
Hi everyone! I am a beginner so don't mind me. I need to find out how I can send information (like text) that somebody would inter into text box to particular e-mail adress. I'm trying to create an info form that user can fill out and by hitting send button send it to the particular e-mail box. Also, how can i create castom check buttons that when it checked it would also send certain info to the particular e-mail box.
Thanks for your time.
Pete
View Replies !
View Related
Sending Info To Mail Box
I still do not get it. If I have bunch of text fields and I want the user fill them out and then by clicking the button be able to send the info to particular mail box, can I send the info directly to the box? Or I have to send it to CGI first that will send it to the barticular address? In both cases what code do I use exactly and do I have to get the CGI code from the server administrator? Could you guy explain it in more detailes?
Thank for your time,
Pete
View Replies !
View Related
Sending Vars In E-mail Through PHP
I am trying to take some variables (input texts in my swf) and e-mail them through PHP. I have tried it the old (Flash 5) way and the new (MX) way and can't seem to get it. I would like my swf to work with the Flash 5 player so I may want to do it the old way. But here is my script. Thank you for your help.
FLASH 5 METHOD
loadVariablesNum("email.php",0,"Post");
FLASH MX METHOD
var c = new LoadVars();
c.to = "dshacket@believethis.org";
c.from = "shacket@juno.com";
c.subject = "MEMBERSHIP INQUIRY FROM WEBSITE";
c.message = "The following person just filled out the Become a Member page on the website:";
c.message += name + "/n" + company + "/n" + address + "/n" + phone + "/n";
c.message += email + "/n Comments: " + comments;
c.send ("email.php","0","POST");
PHP SCRIPT
$to = $HTTP_POST_VARS['to'];
$from = $HTTP_POST_VARS['from'];
$subject = $HTTP_POST_VARS['subject'];
$message = $HTTP_POST_VARS['address'];
mail("$to","$subject","$phone$message", "From: $from");
(I have tried it with and without the $HTTP_POST_VARS lines)
View Replies !
View Related
Sending Mail From Flash 5
Can anyone tell me the way by which I can send email from flash form without using mail client on my machine. I think ASP can be used for that with flash form in the front end. Please help
Thanks
Narendra
View Replies !
View Related
Mail Sending Problem
Hello, I already asked tis in another forum, but maybe i was at the wrong place !
I have a form in flash and want to send the data with e-mail, not php cgi or asp, just plain simple e-mail!
this aint a prob until i tested it!
getURL("mailto:mail@mail.com?subject=test&body="+B odytext);
etc.
where Bodytext is a variable declared as, "name: "+formfield1+"
surname: "+formfield2;
etc.
now here i get my problem
i get name: Billsurname: Gates
instead of
name: Bill
surname: Gates
i tried
%0A
none of them seems to works, except on my mac in outlook express!
tnx in advance, hope somebody could help me out with this !
View Replies !
View Related
Sending Swf Files Through E-mail
Hi guyz... and gals..
I've got a big problem these days... never had this problem earlier though. I'm not sure if I had it earlier for I never had feedback.
The problem is...
I'm working with FLASH MX. The past couple of weeks.. I've been trying to send a few files (swf) to people through e-mails. Problem is that the people at the other end aren't able to view the swf files.
I mean.. inspite of them upgrading their flash player to the 6 version at macromedia.com they aren't able to view the file.
I'm not embedding the swf file into any html file. But I'm transferring the swf file to them.
What really hits me is that when I transfer the same file through any instant messenger (yahoo messenger in this instance) the client is able to view the file without any problems?
Does anyone have a proper answer to this... Firstly I need to know why it wouldn't work when I send it as an attachement to a mail and second why does it work when I transfer the same through messenger? Third, WHAT IS THE SOLUTION FOR THIS. Do I have to unprotect (from import), or publish it in someother way. Kindly help.. for I'm running short of time!... and I don't wanna load the end user with an EXE for obvious FILE SIZE!
View Replies !
View Related
Sending Flash Via Mail
hey anyone, i need some help on how to send a flash animation by mail, so when the person who recieves it opens the mail, the animation will automatically start.
please help me, Im stuck
I will really appreciate any kind of help, thanx...
View Replies !
View Related
|