ActionScript 3.0 :: Christmas Postcard - Sending Dynamic Image By Mail
Nov 21, 2009
I'm doing one christmas postcard in flash that works this way: We drag some elements to a scenario and when we finish we send the image that we made to our friends and invite them to make one. This as been done hundred times but I can't find this tutorial online, I guess I'm not making the right search. My problem is the part when you send the message with the dynamic image the user has done. I'm posting this on AS2 and AS3 forums,
doing one christmas postcard in flash that works this way:We drag some elements to a scenario and when we finish we send the image that we made to our friends and invite them to make one.This as been done hundred times but I can't find this tutorial online, I guess Im not making the right search.My problem is the part when you send the message with the dynamic image the user has done.
I carefully followed this tutorial and could never make it work: [URL] Has anyone got the same problems? I have found a few tutorials on the Web. All of them were not using components for inputing variables. They were merely using input text boxes but I tried them and they work.
I know that this topic has been discussed many times but after reading almost everything I could not find anyone having the same problem as mine... Its not that I get 'blank e-mail' nor 'it works in flash but not when uploaded' I actually GEt nothing. After 'send_btn' it directly goes to 'failed' keyframe. Altough I know that my server(godaddy) supports php started to think that my server does not read my .php file because I get no output or warnings from flash while testing.
I developed a Flash application with Actionscript 2.0.
Its a drag n drop thing but now the client would like to be able for the user to send the creation to an e-mail address. Now, I know you can print a bitmap image but can you e-mail one with actionscript?
I've made a custom compontent wich mails your own drawings to you. But I have a problem to send an e-mail with attachment. I use the HttpService to send the data to the php-file, but I always get the Fault message (form phpFault()). This is my code in Flex:
sending variables through email? Is it possible to place all content of all variables into a single variable or into a certain preformatted text file before sending it through email?
The reason why I'm writting it's because I'm doing a website in Flash, and I don't know how to do one thing.I can create the TextArea, it's ok by now. But what I want to do now it's create 2 buttons. In the first, the "Clean" button, if I clicked on him, the TextArea delete everything it was written there, and in the "Send" button I send an e-mail to one e-mail, with what was written in the TextArea.
I have designed a form with a mail form these are the codes that I am using with my php file but its not sending the message. My same php file is working fine with the static html site. Here is the flash code on first frame:
function submit() { if (contact_name.text == "" || contact_company.text == "" || contact_phonenumber.text == "" || contact_besttime.text == "" || contact_findus.text == "" || contact_learningmore.text == "" || contact_sellermandate.text == "" || contact_buyermandate.text == "" || contact_abuyer.text == ""){ message_status.text = "Please fill up all text fields."; [Code] .....
I made an email form and it sends data entered in the form as httpservice to the url where the php file is hosted which contains the mail() call. During testing and locally it gets sent to my email id. But when I embed it website it throws the following error.
[Code]...
Why is it so.Is it some security sandbox something something.. (don't know much about that in detail).I'm trying to send the data to my gmail account.What should I do. I'm using Flex 3 (any way its not possible via Flash too)Instead of relying on server side script like php, can I directly send it to my gmail account (or any other possible mail account) using server sockets (binary). Can you please guide me. After a lot of googling I found that there must be some file that verifies some ports etc. If so how to setup?
i have tried my hardest to get this mail form working but am having one final problem. When i test the form inside of flash it works fine, i get the email with all inputted information however: when i upload the swf containing the form to my server the form no longer works? i don't even get the message not sent info?
For a company I made a website in flash. Everything seems to work fine except the mailform. Infact the mailform does his job but the message's I receive look like this: First name: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="13" COLOR="#000000" LETTERSPACING="0" KERNING="0">Nick</FONT></P></TEXTFORMAT> Email: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="13" COLOR="#000000" .....
I have one dynamic text field and one button in my movie like newsletter.I want to send into my mailbox the value of the field. Just need to know the button actionscript and the php side.
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
If i send bitmap data from Flash AS3, to PHP and then PHP turns the bitmap data into a image file and saves on server... Would it take too much resources?I mean, The Bitmap Data could contain too much pixels etc does that affect the resources? If 10-100 people send data simultaneously is it going to cause problems.
I'm loading a small portion (rectangle), of a png file and extracting the ARGB (Alpha, Red, Green, Blue) values of the bitmapdata using C#. I then send this bytearray to the flash player (using sockets). The flash player receives this as a ByteArray. I then use LoadBytes but it gives me the error "unknown file type". I'm guessing that it could be because the data is not png encoded (I don't know how to do it), and loadBytes requires that.
I have a flash file that contains an input text field and a submit button symbol. I need to capture what the user puts into this text field and send it to an asp page that will execute a search script. I used the source from this tutorial as my base: [URL]I can attach an FLA if needed, but it should be pretty simple. Here is the setup:Inside a movie clip named "form", I have a text field, set to input text, with "search" in the var property field.On the search button, I have the following action:
Code: on (release) { form.loadVariables("searchtest.asp", "POST"); }
In the ASP page, I am trying to capture the value of the variable "search" by using:
Code: Request.Form("search")
Am I on the right track here? Should I use "GET" and try to pull the value out of the query string?
I would like to take a "screenshot" of the stage within flash and send it as an image by email. I have tried AMFPHP and the method described here - [URL]. This is saving a jpg of a movie on the server, but no email function. I know how to setup a very simple php email file but without attachment. So my problem is I have no idea how to "connect" all those parts together and make it so that when you click the button in flash it'll send the jpg by email directly.
I'm making a Flex AIR application that will produce a giftcard from a webcam picture. This giftcard needs to be sent in an e-mail to a recipient provided in the program. Should I upload the picture to a server and use php to send the mail?
I am using Asp.net/C# in my application , I am using a .swf file which is placed on my Default.aspx page to capture images from webcam, I have a requirement that the captured image should be sent to server or aspx page without storing it on the clients machine,
I need to send a image to PHP (server) and get it in my mail. Sending using LoadVars. Code: import flash.display.BitmapData; var bmd:BitmapData = new BitmapData(20,20,false,0x00ffff); var output:String = bmd.getPixel(1,1).toString(16); trace(output); while (output.length<6){ output = "0"+output; [Code] .....
I know it's possible to do time in flash, but I need a way to find the date.. see: I'm trying to make a "Days Till Christmas," counter in flash, but I need to some how import in the date (the 12th, ect..) Then that can easily be subtracted by the current date to get the days left..
I have set up a functioning xml image gallery with simple left and right arrows. I am now trying to make it an infinite looping gallery swapping the first and last sprites in an array and + and - their x value so they "physically" move in the photos container.
All of this works fine except for the actual loaded image. The xml data, name description, and image to be loaded are set up in one function and all the data is added to the sPhotoSprite (sprite) in this function. This All works perfectly..
A second function is then called to add the current image:
var currentImage:Loader = Loader(evt.target.loader); then currentSprite.addChild(currentImage); (the sprite is declared at the start)
The problem being that the sPhotosSprite is no longer reference-able. I've tried :
But this only ever returns the final sprite. The same problem of only ever returning the final sprite occurs when I try setting an external sprite to hold the current sprite in it and then referencing it in the second function.
I have a MC called image_mc. When I load an image from XML, I want the centre of the image to be over the MC.Here is my code which isn't working. Currently, it positions the top left of the image at the MC regardless if the image is portrait or landscape.
Code: pic = portfolioTag.childNodes[num].attributes.IMAGE; // LOAD IN FIRST PICTURE IN XML FILE, first occurance of IMAGE NODE[code]....