ActionScript 1/2 :: Send Mails From Flash?
Sep 10, 2009
In a contact page, there is fields for sending message. What I want to do is that, when i click the send button, the message should be send to corresponding mail ID. Is there any need to use server side languages for this purpose?
View 1 Replies
Similar Posts:
Aug 25, 2009
So I've searched for everything I can possibly think of and I can't find an answer to my particular problem. Although I've found many similar problems that people have with the date formatting from DateFields.I'm using the DateField component along with PHP to create a simple reservation form which sends an email with the information.I was able to change the format of the date that the user selects (from the DateField) WITHIN Flash. Ex: ("29 Aug 2009" to "September 29, 2009") -- which is what I want. However the e-mail that gets sent out is formatted as ---- "Sun Aug 30 00:00:00 GMT-0400 2009".Is it possible that I can remove the time portion and reformat the date in the DateField within Flash or using PHP? I have tried both methods but I keep getting the same results within my e-mails.[code]
View 9 Replies
Apr 22, 2009
I am trying to make a form in flash. But I have two problems, first, I need the form with any way to attach files that are sent along with the form data to an email. And second, i need a button with names of people and depending on which name you choose, the form data and the attach are sent only to these people (the chosen names).
View 2 Replies
Apr 12, 2012
How can I make changes in the following code to fill the subject field with "Feedback" & Cc: [URL]?
[Code]....
View 1 Replies
Jan 21, 2004
I am new to server side applications and I have been working my brains out on an e-form project.Tried several tutorials and examples that were quite useful in getting me familiar with cfm, php etc. but still can't complete my project.What I want to do: set a simple e-form that adds up prices and then mails the results. No billing, no credit card security stuff involved, just sending the info to the store manager who will use it to invoice.So far, I have a basic form that adds up the items using static, input and dynamic text fields. I also have a simple e-mail form. They both work fine but I need to combine the two. Somehow incorporate the e-mail functions to the "shopping kart" form and email them.
View 1 Replies
Jan 21, 2004
Tried several tutorials and examples that were quite useful in getting me familiar with cfm, php etc. but still can't complete my project.What I want to do: set a simple e-form that adds up prices and then mails the results. No billing, no credit card security stuff involved, just sending the info to the store manager who will use it to invoice.
So far, I have a basic form that adds up the items using static, input and dynamic text fields. I also have a simple e-mail form. They both work fine but I need to combine the two. Somehow incorporate the e-mail functions to the "shopping kart" form and email them.
View 1 Replies
Nov 16, 2010
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.
I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 2 Replies
Nov 16, 2010
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button. I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 6 Replies
Mar 11, 2004
I searched around and found some helpful things, but I am still missing something I think...
LoadVariables() won't work across domains, right, so, is it porrible to send data to a CGI script via getURL and not have a popup window on send?
View 3 Replies
Mar 18, 2010
I have a problem with shareobject. the Send method does not work. I work with AS3 My code
[Code]....
View 4 Replies
Nov 24, 2005
I am actually discovering Classes.I try to make a class that reads out an XML file and than converts it into arrays.the array is well created in the class file, but I can't send it back to the swf correctly: it only duplicates the first item of the array in an infinite loop, but when I trace it into the class the output displays it right..
with this code I call the class:
Code:
var myProduct:Product = new Product("gallery.xml");
this.onEnterFrame = function() {
trace(myProduct.getArray());
[code]....
View 1 Replies
Mar 12, 2009
a week ago I bought the following monster template template:[URL]..my last changes to it were to the popup boxes that appear on the SERVICII page when you click those titles there. Right after those changes it compiled and published, everything ok, i did several other tasks in Photoshop then back to my flash and at the next recompile, Error - Send don't send Flash has to close. I reopened it and it keeps closing forced. I tried undoing my steps but nothing worked. I am desperate, the project is due completion on saturday and my source is messed up.
Can anyone tell me why I get that? Has anyone been in a similar situation.I am a flash newbie, I saw no errors in "Compiler Errors" or in "Output", just force closing the Flash CS3.
View 8 Replies
May 20, 2011
I use this code to convert an image to a BitmapData and store a JPG in a ByteArray.
import com.adobe.images.JPGEncoder;
var jpgSource:BitmapData = new BitmapData (img_mc.width, img_mc.height);
jpgSource.draw(img_mc);
[code]....
Now, I want to do the following:
1. send the ByteArray to PHP;
2. PHP must store a physical image_id.jpg on server;
3. then PHP must return the URL of the image to Flash;
The first lines of PHP could be:
if (isset($GLOBALS["HTTP_RAW_POST_DATA"]))
{
// get bytearray
$jpg = $GLOBALS["HTTP_RAW_POST_DATA"];
[code]....
View 1 Replies
Dec 10, 2010
Example of code which would be used to send a bunch of variables to a PHP script via flashThis would require the PHP script to load when the data is sent.I want to use this for a Flash event calender which triggers more information about the event to appear in a HTML area of the page when an event is clicked on. The PHP file would be the same file that the SWF is embeded in so the FLASH file would reload the page with the variable sent to the PHP. The PHP would use this variable to select the right content from a MySQL database.
View 13 Replies
Jun 4, 2010
I have to send some specific xml to a php script (from flash AS2) that then sends out sms message based on the xml. I have been given the xml by the sms sender and have tested it via their live demo and that works fine. The problem I am having is getting flash to send this XML.
The sms sender states that it needs to recieve the xml in the following format: The XML Document should be posted uriencoded, with a UTF‐8 character set as paramaeter 'xml'
Here is the code I have so far, I think something is missing maybe. I have tried running the swf in a browser rather than in the flash testing environment
var my_xml:XML = new XML('<xml></xml>');
my_xml.contentType = "text/xml";
send_btn.onRelease = function () {
[Code]....
View 1 Replies
Jun 4, 2010
I'm trying to send array of data from Flash to PHP to sending e-mail. I'd like to do that because I must change the php page everytime my form site changes because of client's choice.[cod]e...
View 1 Replies
Nov 15, 2010
I need to send a tweet from flash, so i've been looking for solution on the net, but everything i found is using as3. Since i don't know anything of as3, it becomes difficult to edit everything.
View 1 Replies
Sep 13, 2011
So, I have learned how to actually send data from Flash, but how do I in ActionScript send data every 3 second?
View 1 Replies
Jul 11, 2008
Is it possible to send sms from flash, by using PHP? I would be greatful if someone knew about a tutorial for this, or if anyone has any idea about how to do this.
View 3 Replies
Jan 2, 2004
i want to know, i have a video.swf in a page, and when the video finish, it go to another url,
www.site.com/index.html <----- video.swf
it redirect to www.site.com/index.php
how can i put the video in the index.php, and send 1 variable via post, so when it finish send to the same url that he are but with a varible, and them in php i look this variable and show the page
View 5 Replies
Jul 7, 2008
Attached is the .as file. Here you will get an example how to send data to php.
View 1 Replies
Nov 23, 2009
basically, the ecard will start with 3 questions.each question has 3 answers.so user choses the answer e.g. B, B, C and clicks preview.it will play the movie clip assigned to B B C in sequence.then user can click send to sent to friend.so the URL needs to be able to identify the sequence maybe in parameters.so that when his friend receives the ecard and clicks on the flash it will play B B C sequence.then his frind can create his own ecard and maybe A C A etc...So how i created like that?
View 3 Replies
Sep 16, 2004
I'm trying to send content from flash to asp, but I dont know how to request for the data in asp,
This is my AScode:
Code:
var myLv:LoadVars = new LoadVars()
myLv.vr1 = vr1
myLv.vr2 = vr2
[Code]....
View 1 Replies
Nov 19, 2002
way to send a VAR from flash to asp, and then the asp file writes it in a .db file
View 9 Replies
Dec 14, 2002
how to send data to asp thru flash & how to retreive data from an asp into flash...
View 3 Replies
Dec 11, 2007
How can I send 'eCards' from within flash? I want the user to pick/select an image and put some text and the email address the email goes to into formula. I want to send an customized email with individual text and (inline) attached image to a defined email address.
View 3 Replies
Aug 25, 2009
Problems on php send color var to flash (AS2.0)
code in php:
echo "<font color="#CCCCCC">";
echo "Hell-lo World!";
echo "<font>";
in browser output, everything is fine, the color of the font has changed to #CCCCC but when i load the code into flash e.g.
slogan_txt.html = true;
slogan_txt.htmlText = textFromPhp;
the color hasn't changed.
I've trace (slogan_txt.htmlText);
I can see there are a lot of default setting for htmlText:
<P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">
But I couldn't see my imported php code <font color=#cccccc>
On the other hand, the imported php code of font size could override the default html setting of flash player I've also try echo "<font color=""."#"."CCCCCC"."">"; no luck.
View 2 Replies
Jan 31, 2010
Send data from Flash to PHP = Possible. Is it possible the other way? ( for example, send a variable from PHP to Flash ). If it is, how secure is it? Can people see the data that was sent?
View 8 Replies
Mar 2, 2010
So I'm trying to send an array of values from PHP to Flash, but the problem is any character I could use to separate the values could potentially be in the value itself.
Fine, no problem I thought. I'll just urlencode the variables and allow (for arguments sake) commas to separate the 'encoded' values.
Just after I'd finished laughing about my mighty victory over code adversary as I often do, I attempted to fetch the array from the PHP file and I quickly learned that Flash automatically applies the 'escape' function to the data after it is received. My laughter was replaced by (for theatrical sake) tears!
A way to tell Flash to stop automatically 'escaping' the incoming variables, or
A way to send an array of values without using a character that could be used in the variable (which could be anything... fullstops, commas, dashes. Pretty much anything within reason)
Now, before you mention that I should just make a NVP (Name value pair) for each variable in the array, know that there is quite a lot of data already being loaded, and adding (what I consider is) unnecessary extra NVP syntax (which would double the large amount of data I'm sending) could potentially cause trouble, not to mention a general lack of bandwidth.
Should I bite the bullet and NVP my arrays (ugh!), or maybe use an obscure character as the separator... but I would like a practical approach to this solution... like stopping Flash from automatically escaping the input.[code]...
View 4 Replies
Dec 11, 2007
I have got to send sth by ASP in Flash. I wrote some code but this doesnt work.[code]If I just click on email. asp without Flash, I will get a email from there. But if I use the above method to call that page, the email wont be sent. So do anyone know what wrong?
View 3 Replies