ActionScript 2.0 :: Mailbutton In Flash (getURL) - Sends Mail?
Mar 23, 2002How to make a button that sends mail. sumthin like getURL(mailto.... or sumthin?
View 6 RepliesHow to make a button that sends mail. sumthin like getURL(mailto.... or sumthin?
View 6 RepliesI have a Flash Form, which sends Variables to a PHP page through getURL - Post method.
My requirement is that : i need to redisplay the Form variables (name, email and so on) back in Flash as a confirmation after the data has been entered into the database in the PHP page.
Unde linux, the foreign keys such as... do not seem to work with this code:URL...The output is wrong under Linux, but Windows is Ok.the output of foreign keys such as ΓΌ with Linux looks same here, totally broken, two chars appear: URL...
View 1 RepliesIt works fine on a testing domain where the flash and the html file are located in the same folder, however, this flash banner is going to be stores on a subdomain callAs soon as it's put on the live site with the flash located in the images subdomain the link stops working. I don't even get an error message; it just doesn't do anything.We tried changing the code to:
on (release){
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");
[code]......
I made this small shop that uses Flash to collect data from the user (and what they want to buy) and PHP to mail the data in a confirmation e-mail. it's not working
View 1 RepliesI would like to know if there is a way to make a flash movie that sends information straight to my email with the push of a button. Is it possible? Can it be done without knowledge of the person? I want to have a poll, and calculate the votes by hand, or eye, I suppose. I just don't want to have to set up a server of any kind.
View 1 RepliesI don't know if this is too much to ask but could someone give me a quick overview on how to create an email form that actually sends the information to my email? I have the form created, and I'll post the .fla file (I allow a laugh at my elementary flash movie. This is just a final project for an intro to flash class), and I understand I'll need the .asp file from GoDaddy setup on my hosted space.
View 3 RepliesI am trying to create an interface on flash that sends information over a port into Maya and controls certain things in Maya. I have been able to connect flash and maya to the same port but there is nothing that is telling Maya to listen to flash.
I have a slider ... This slider controls a value 1 to 5 ... I have written the script in flash to make that slider control the radius of a sphere in Maya (using mel scripting) ... so imagine I have two screens one with my flash interface with the slider and the other with maya and my sphere ... I am trying to make it so when I adjust the slider in flash .. the radius of the sphere in maya changes .. I am just missing that middle piece where one listens to the other ...
I want to set up mail in my Flash site. The only thing I can figure out is to have someone fill out a form and click button for it to open in their email browser with forms filled out.
I purchased my site name from GoDaddy and am using a free server to host. GoDaddy provided me with one email address. I would like to send the data to this email account with the click of the button instead of opening someones email browser. An even bigger "dream" would be the ability to attach a file to the email from my form.[code]...
I'm trying to create a button that sends you to a url when it's clicked. Whenever I test the movie, I get the compiler error "1046: Type was not found or was not a compile-time constant: MouseEVENT."
Here's the code:
homeBtn.addEventListener(MouseEvent.MOUSE_DOWN,mou seDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("url"))
}
I made an AIR application that sends voice between two computers, this is the code:
[Code]...
I have a problem with the code below. It sends the vars to the submit.php but it doesnt load them. All files are in the same folder. Get the .fla --> here
Code:
var oListener:Object = new Object();
this.onEnterFrame = function() {
ratio.text = score;
lvData.scored = score;
[Code]...
I am just wondering if its at all possible to send e-mails in Flash without using PHP/ASP to achieve this as the application im using does not like loading external files.I have managed to do this but Flash requires the PC in question to have an e-mail client installed on the machine (used the getURL) is there anyways I can cut this out and get Flash to send the e-mail?
View 1 RepliesWhen I click on send the textbox displays 'sending....' with no change. I'm very sure that this was working before, but the client has noticed it not working recently. I have a swf with this AS3
[Code]...
All of the variables are set in the flash website, I actually used the one from kirupa's site. It works great and everything comes through in my email.I want to add more than just one $message to the email body. Say I want more of their information to come through.... right now I have (name, email, and message) obviously..
I would like to add "library" and "address" to the body of the email, the variables are allready created in the website. Also can I have something in front of each 'answer', I have seen it in code but I can't seem to get it working for myself. For example my email would come in and in the body would be;
Library: (then what they filled in for their library)
Address: (what they filled in.."
Message: (their message)
This is one way I thought it would work but did not....(without the 'title' infront of each..
$message = $_POST["message"];
$message .= $_POST["library"];
$message .= $_POST["address"];
I also tried, but did not work..(with titles)
$message = "Library: " . $_POST["library"] . "Address: ". $_POST["address"] . "Message: ". $_POST["message"];
Currently, this is my email.php script...
<?php
$sendTo = "my@email.com";
$subject = "ClientsWebsite.com - Libraries Email";
[code]....
I am building a flash website and I want contact information sent to my gmail address.
The Lynda.com tutorial I am using says I need to "enter the php address." What is that and how do I do it?
This is my code edited
if (thename.text == "" || theemail.text == "" || thephone.text == "" || themessage.text =="") {
thefeedback.text = "*Please fill out all fields";
[Code].....
I'm having an issue with Flash CS4 and Actionscript 2.
I've got a contact form on my contact page, with a few text boxes set to input text.
Example:
Text box of type Input Text and name = contactName. Do I need to set the Variable field too?
Here's the Actionscript for the button I have on the form:
Code:
on(release)
{
if(contactName == "" || contactName.length == 0)
[Code]...
Basically, the e-mail that gets sent has 'UNDEFINED' in it instead of the value I enter in the contactName field.
I'm trying to send out flash variables using a GET method however, it's not working as it should.my button code looks like this:
Code:
on(release){
getURL("http://www.myurl.com/new.php?subject=" + _root.subject + "&name=" + _root.name + "&phone=" + _root.phone + "&email=" + _root.email);
}
When I declare values on my actions layer, it comes out like this
http://www.myurl.com/new.php?subject="Hello"&name="Koopakilla"&phone="0 181155654"&email="mail@mail.com"
And my PhP code works just fine. However, when I try to do the same using an input text box it comes out like this:
Code:
&namee=<p align=left><font face=_sans size=13 color=#000000 letterSpacing=0.000000 kerning=1>b</font></p>
I am working on a mail form in flash where in I have to select a file from a local machine and submit the form via php to respective mail id with the attachment.Can anyone please help me find a tutorial or is there any on the internet.
View 1 RepliesI have created a form which sends the inputted values as an email. The file takes a name, delivery address etc and also should allow a quantity to be input. There is also an option where a different delivery address can be specified like so:The code looks okay, with no compiling errors, but the 'user input quantity' does not work and when changing different address,
[Code]...
I have a very simple mail contact form in Flash AS2 ( only three fields Name, Email and Comment ) in which I want to include onc captcha for some restriction. How can I add captacha in my flash form? I am very new in all these areas of php, mysql and flash so a small demo file will be much more useful.
View 2 RepliesSend button action:
onClipEvent (load)
{
this.t.v = _root.contacts_txt9;
}
[code]...
i made a flash card (an animated postcard), and i want to send it via email so other people can immediatly see it when they open the email. How can i do this?
View 3 Replieseverything was going well with my form until I transfer the files (php + swf) to a Windows server...the thing is that now it doesn't work.
View 14 RepliesHow can I create a mail form in Flash ? I know, it's been asked a million times before but this one's different. You see the server I'm on has UNIX servers, and don't support anything. Real crap, not even PHP, AS, CGI, ... nothing. So now what do I do to create a mail form without PHP, AS, Perl, CGI, ... ? I have no idea at all, all those forms use PHP.
View 14 Repliesafter loads of attempts trying to get my mail contact form to work ( very new to action script + php ) I finally got there! The only problem is i receive all this under the message..
[Code]...
The message is in there, but you can see this is a bit of a problem. Does anyone know how I can resolve the issue?
I've been getting an 'undefined' response and no email sent upon sending. It USED to work but then I added a few fields and broke it somehow. I copied everything perfectly, and know my text field var's are named correctly, so the fault lies somewhere here.
'submit' button actionscript:
[code]....
i am trying to create a simple mail form in flash to be sent through php.
the actionscipt:
Code:
on (release) {
getURL("http://www.dw20.co.uk/pages/contact_form.php", """", "POST");
}
the php:
[Code]....
everything was going well with my form until I transfer the files (php + swf) to a Windows server...the thing is that now it doesn't work..
View 14 Replieshave created a contact form that sends 3 lots of data (name, email and message) to my email address. here is my code for my flash form which looks right
import flash.net.URLVariables;
import flash.net.URLRequest;
InteractiveObject(theName.getChildAt(1)).tabIndex = 1;
[Code].....