Actionscript 2.0 :: Sending Mail With PHP Wont Work When Uploaded?
Jan 19, 2009
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?
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?
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'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,
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 made a flash website for a client and there is only ONE thing wrong with it. Everything works when I preview it in Adobe Flash Player. And I have it embedded in a Dreamweaver CS3 file, and when I preview it...it works. THEN when I upload it to the server, two of the INTERNAL links fail. I have two links that say "Behind the Camera" and "Contact". [URL] You can see when you click on either of the links, it just randomly skips ahead in the first scene. What I really want them to do is when you click Behind the Camera you go to Scene 2 and Contacts you go to Scene 3. I have coded everything correctly, because everything works when I preview it. But once I upload the .swf file to the server, those links fail.
I've created this simple website which consists of a 3d carousel style gallery of images. When I tested it locally everything worked perfectly, however, the version on the web-server is not working. The website is at dansawesomeweb. site11. com. I renamed the html file so you can browse the websites folders if you wish. After much testing I believe the problem of the website lies within me loading external images. You see two of the images(the only two that you can see) are loaded from the same domain and specifically the same directory as the website itself. It seems to be unable to load any image from any where else on the web.It could be to do with the image url's I used: i'm not entirely sure how they should be formatted? (As you can tell I'm not familiar with this kind of stuff) Do you think it's my host? -but from what I hear 000webhost does fully support flash. Or do you think it's purly how I programmed it in as?
The way the website works is that the base.swf loads the caro.swf. The caro.swf's doc class is CaroClass.as. The flash makes use of some custom classes that are in the class folders. The class called 'Obj' is an image holder movieclip that loads an image off the web into itself: These make up the carousel. There is also one class that is supposed to load a higher resolution of images when you click on one of the Obj's, and also show a description. The image url's, captions and descriptions are held in an xml document which is loaded by the caro.swf at the start. Just go to the webpage and click on the CaroData.xml for the XML.
Every time I preview my .swf in flash I can see everything resizing correctly as well as staying centered on the page. However when I uploaded it to the web none of it works anymore and I have no idea why.Check it out...
I have made some buttons that call in external swf files and these work perfectly on my own machine when tested in various browsers. My problem is when i upload to the server and then test in the browser, the buttons don't work anymore. perhaps if you have server space you can test it out for me and then delete them?
I have a bunch of loadMovie() scripts in my flash files and everything loads fine when I open the flash files from my folder.Once I preview them online on my test server, the loadMovie() scripts no longer work. Has anyone encountered this? Does my paths need to change in order to view the flash files online?Right now, I have everything realitive to the flash file so:My main file is test.swf. that loads in fine in the website.But test.swf loads in test2.swf which is contained in a flash folder so my loadMovie script itloadMovie("flash/test2.swf", 2)
I have a media player on my website. Visualizer of media player works when I test it on xampp localhost but it does not work when I upload it to my hosting. My website: [URL]
iv been having this problem with swf file iv created, it consist of images somewhat like a gallery. when played offline it works smoothly, navigating frame to frame / image by image. iv used AS3 to compose the animations in my flash file. now my problem is when its uploaded online, the swf is shown but once iv clicked on a link to proceed on showing the gallery it lags and continously loop when it should actualy stop on a frame and wait till the next button is clicked to procced to the next image. plus the animation iv added in doesn't seem to working at all.
For some of the menus and stuff, I have it grayscale the screen with BitmapData.draw and ColorTransform. It works perfectly when played through Flash and Flash Player, and even when played locally through a browser.
However when I upload it to a server and try and play it online, the BitmapData stuff apparently clunks out. It displays a white screen, suggesting that BitmapData.draw isn't working for some reason.
As it only doesn't work when on a server, you'd think it was some form of security violation. But I cannot think of anything that would cause this to breach Flash's security. I'm only drawing the _root of the movie clip, nothing located on another domain.
Even weirder, the exact same code worked a while ago when uploaded. It only stopped working a short time ago after I was adding some menus and such - and as much as I've been trying to pinpoint it to an exact moment in time when it stopped working, I can't.
I have made some buttons that call in external swf files and these work perfectly on my own machine when tested in various browsers. My problem is when i upload to the server and then test in the browser, the buttons don't work anymore
i've created a basic flash form which uses the following script for the send button:[code]it works well when i test it locally in the flash IDE.. it also works when i upload the SWF and the corresponding HTML file that holds it to url...but when i upload it to a subdomain (ex. url..), it doesnt work anymore.. after pressing the "send" button, my "sending input" animation shows up as expected, but then it gets stuck there and never proceeds to the "input sent" animation.. the message never gets sent to my email..
I am building a flash intro page, but when I publish the file on my computer and even run for errors, everything works and comes clean... But when I load it onto the server, the ENTER button, no longer works...
If someone could check the actionscript for the button... I checked and double checked my code, and it seems to be right
It 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("*");
I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?Does anybody know how to resolve this problem
Im in my first year studying a web design course, over the summer I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?
I have a flash template that I bought and customized with dreamweaver, flash and Coda html editor, the website test PERFECTLY when I test the index.html file, all of the buttons work fine, I have a total of 12 .flv videos and they ALL play back fine, when I play the index.html file, the problem occurs when I upload the files to my godaddy server, 11 of the videos play fine, the whole site is fine, it is one particular .flv file that will not play once it is uploaded to the server. I have changed the orders the video play, renamed the file and changed the html flv path to reflect the name change, I have deleted all the files off my server, refreshed the server logged out and re logged on and uploaded everything again, I have re-encoded the original .mov file to a .flv file again using Adobe media encoder, still nothing, I am wondering why would the index.html play this particular .flv file fine, but once uploaded to the server it will not play, the path is correct I have checked it, if the path were the problem the index.html for that particular file would not play when I test the index.html file before I upload it, but it plays fine until it is uploaded, I am uploading the whole folder on the root, and this particular video file is in a folder with all the rest of the .flv files, I even tried changing the path and putting this particular .flv file in a seperate folder and change the path still nothing.