ActionScript 2.0 :: Send Form From Flash + Attachment File?
Feb 3, 2011I'd like to add to my flash form a box where the visitor can attach a file (pdf, jpg, doc..) from his hard disk.
View 0 RepliesI'd like to add to my flash form a box where the visitor can attach a file (pdf, jpg, doc..) from his hard disk.
View 0 RepliesWant to know whether it is possible to attach one image, or a zipped text file with the email form in a Flash template.Actually I want to send one image and one text file as attachment.
View 1 RepliesMy problem is this. I'm trying to make a flash movie (in a larger project) that has some input text fields (but not necesarily only that), basically a form, and a button that uses a FileReference class for uploading a file from the users computer. In the end, this setup should send an email with the mesagge and the file attached to the mesagge to a determined email adress.
Now, the problem is that I'm absolutely lame when it comes to php, that meaning that I understand someone else's script but when it comes to writing myself well...huh I'm toast. I have found a beautifull tutorial here [URL](much credit to Jorge Solis) for the uploading part and a equally beatifull one here [URL] for sending a mail. Also I've found here [URL] and here all sorts of scripts for sending mail with attachement, from which, of course, I can't understand a damn thing.
Now, to wrap it up... I have functional movie that puts a file in a folder on the server. I have a flash movie that sends mail via a php-script. I need a God'damn shotgun wedding with these two.
I am making an Android app with Flash CS5. I am trying to send information from the app to the user with an E-Mail message. The information is all text, however, just plain text isn't enough. I'd much prefer using HTML formatting or some other way to better show it to the user.Is there a way to send an attachment or at least include HTML formatting inside the body of an e-mail sent from AIR?Right now I can send an E-Mails just fine with avigateToURL
I can also include a subject and body for the E-mail. However that is all plain text, and not exactly what I'm looking for.
I have a flash contact form and managed to send email with the help of PHP script. Actually, I followed this tutorial on URL.... Now, would like to get one more feature, "attachment".
View 3 RepliesI have a php file set up to send an email with an image attached.. I just simply need to run the script when I click a button..
Is this enough code to do this ? I haven't recevied a response yet !
The actionscript I have used is (I used an external class to save the image)[code]...
how to save a movie clip snapshot as jpg or pdf and send it with a form I already created. I am creating diagrams with flash and would like to send them as an attachment with the form.
View 0 RepliesTrying to send a validation email with an attachment and I'm receiving a blank mail with a 'noname' attachment which is 0b.. I've got to a point where I'm not receiving any errors and the php is tracing that the mail has been sent... Below are my actions and variables :-
[Code]...
is it possible to send an email with an image attachement in a "text" format? (like in a ByteArray)
I'ld like to encode an image into an ByteArray (Flash AS3 - PNGencoder) and send it then via PHP to Gmail and others without saving the image to a hard drive before.
I was following 1 of the flash tutorials about creating a flash form and using .php to send the form to myself.I've followed all the instructions but upon uploading, the file just doesn't seem to work. I hope to have some kind of form in my new website.
View 4 Repliesonly those who actually got real code to show please Im looking for help on how to create send-email with attachment using AS3.
Furthermore the attachment should be printscreen of the flash movie converted into JPEG (preferrably with no need to upload the file to server - can this be done on the fly?), and the JPEG then should be included as attachment in the email.
[Code]...
I Have been using Kirupa for a while now, an excellent resource!! but have only just joined the forum. I have had a look at various Flash tutorials provided on the site but cant seem to find quite what I am after. I have a contact form on a site I am making and I want to be able to browse and add an attachment. I see Kirupa provides a tutorial on contact forms and one on uploading files to a server with flash but unless I am mistaken not a contact form with an attach facility? I would like the attachment to be send directly to the e-mail address along with the other information. I am using CS3 but have published the swf with AS2.0 The site is [URL] if you need to see what I'm talking about to make it clearer - once there click on contact
View 3 RepliesI have built a simple Flash application that will be presented using a projector, the application will show messages in the form of questions that will come from a simple flat-file text file or XML file.
In addition to this I would also like to be able to add my own messages using a simple HTML form.
I've been looking around the web for some resources, but have been struggling to find what I am looking for. The basic idea is that the flash application will loop through these different messages from the XML, but then when a user types in a message that will also appear within these messages. Think of it as a sort of dynamic tag cloud.
I have a flash form that sends a monthly report that users fill out to a php file, which sends it to a MS SQL database. This issue I am having is that anything larger then 1300 characters entered into the flash form will not work at all. If I reduce the amount of text to 1300 characters or less, it will send it to the php and database just fine. My research shows that a flash variable should be able to handle 65,000 characters, and when I trace my output from flash to php, all of the data is being traced. however, it is not being send to php. I am using LoadVars to send the data with _GET. So is this a php issue, or a flash issue? I ran a php info page and my max_post is set to 10M that should be enough to handle this load. I am not sure why it is not working with anything larger then 1300 characters. Below is my code for my php and flash files.
The variables that are affected by this are the testEvlauation, projects, support, and programManagement variables. I need them to send at least 8000 characters a peice to the php file.
Flash Code:
on (release) {
sendData = new LoadVars();
sendData.contractor = contractor.text;
sendData.name = name.text;
[Code]....
Now i am doing one flash with actionscript project. It,s one real game with fun project.But problem is i am using JSP for server side and front end is flash with actionscript.My problem is how to send flash values to jsp and then stored to database.I serch lot of websites i cannot founf it anywhere
View 3 RepliesI have a flash form (widget) on a website that the user can enter details (or select them from drop down menus).
There is then a submit button at the bottom.
This is quite primitive, and as far as my flash allows me. The bit I am stuck with is that I need to send the data then to a .PHP file that will then forward this to the correct people (this bit is already done for me).
sending this information (e.g. Phone Number, Country, Language etc) to the .PHP file.
ActionScript Code:
// set default text of boxes - currently blank
name_txt.text = email_txt.text = subject_txt.text = message_txt.text = " ";
[Code].....
I believe my problem lies within the email_data var. And I believe the problem is the "&" that has to be there. If I take it out I dont receive the information placed inside the corresponding input text fields.
I'm building a Flash banner that allows the user to input some text and then when they click on the send button, they are taken to a web page where the text they have entered is already placed in the relevant form field on that page.The web page already allows this action from another web page, but I'm struggling to make it work when Flash sends the text.The web site developers have sent me the HTML which allows the transfer of data between the first page and the second:
View 3 Replieswill i be able to send a video what i'am receiving form fms B to another fms A in a flash app?And how?
View 4 RepliesI want to resize a image using flash resizer.java script browse and upload a image and send to flash resizer and flash resizer resize the image and send back to javascript.Is it possible to send and receive image from javascript and if yes then please let me know what I need to do on flash end and how i can make javascript accessible to my flash code.do i need to load my full sourse code or javascript done there job with SWF only.
View 2 Repliesagain (".)I've making this contact form on flash & i got the script for the action script but i'm unable to integrate a php script that would send the mail from my form.I'm using two input feilds with instance names as theEmail and theMessage Here is the action action script code i'm using -
[Code]....
How can i make form in flash to send info to php by post or get ?[code]...
View 7 Repliesi want flash enquiry form send and clear button script.
View 1 RepliesI am working with a form (Flash and PHP), everything works great, but the characters like �, � � or � doesn't appear in the resulting FORM e-mail. I use a text file with script to send the email off (contacto.php3)
View 5 RepliesI need to send a message from a Flash contact form to PHP. Do I need to encode characters like ' " < > & because of possible XSS attacks or something else?
View 2 RepliesI want to load some links from an ASP file like the attachment.
View 2 RepliesI am trying to send information from a flash form to a php script using radio buttons without a submit button ie as soon as a radio button is selected the info is sent but I can't get anything to work.
View 1 RepliesI am trying to create a simple form using Actionscript 3 that will collect data from a form, then pass that data to an asp file. I have attached the following code to the submit button,but this is not working.I'm not sure if I have to add anything else and I don't understand why this is not working. I'm trying to load all the variable info into one variable called email form.
submit_btn.onRelease = function() {
var emailform:text;
emailform.email_txt = email_txt.text;[code]......
I have a flash form that need to submit values to a PHP file.I am using in flash: varsToSend.send("subsrcibe.php","process","POST"); The "subsrcibe.php" contains a form that is connected directly to a database.What i want to do is, to load the variables from Flash to this PHP file, and then submit them automatically to the database (The PHP page should not open to the users).
View 2 RepliesI have used the kirupa tutorial on a flash email form and it works GREAT! The only thing is I want to have required fields that need to be entered in for the form to send. If the user doesn't enter anything, it will ask them to in order to send the email.how I can do this or adapt it to the kirupa tutorial code?
View 1 Replies