ActionScript 3.0 :: All The Other Form Mailers, With An External Php File?
Jul 25, 2010
I have a simple form mailer on my page. This form mailer is linked, like all the other form mailers, with an external php file.It was working pretty fine, until one day it never sent the content.I fired up firebug and checked the Network activities. My POST request shows up as expected and the parameters are set correctly.But still, the mail is empty. So I put an error_reporting(E_ALL) in the beginning of the file and it is telling me the notice:Undefined index:Is there anybody who experienced this before and probably has a solution or a hint concerning that problem?Here's the code:Contact - Document class:
ActionScript Code:
public function Contact()
{
[code]....
View 1 Replies
Similar Posts:
Apr 11, 2005
so is tried some phpmailers... not one worked! But when i tried them on another webspace, they DO work... I checked the options on the first webspace, but everything is enabled (i manage that webspace myself cause i have a deticated server).
View 3 Replies
Oct 19, 2009
I 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]......
View 1 Replies
Jan 13, 2012
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 Replies
Feb 4, 2009
I have a flash form. When the send button is pressed, I need to access a php file from another server that sends the email. I need to access the php file like this: [URL], writing the 2 variables, var1 and var2 in the link. I tried like this:
Code:
var sendData:LoadVars = new LoadVars();
link = "[URL]" + value1 + "&var2=" + value2;
sendData.load(link);
This works when I test my file from Flash. But when I upload it to a server, it doesn't work anymore. Why is that?
View 1 Replies
Sep 28, 2010
I have a custom form that I want to implement and I am having a problem figuring out how to do so. I want to have it work like an inner popup where it blurs and unblurs the background image (like the schedule from hbo.com).[code]...
Lets say I load a section called home.swf into the section loader. Within the home.swf I have a button for someone to call up the form.swf. Is it possible for the form to blur the random background image when loaded then unblur it when it's done?
View 0 Replies
Mar 1, 2011
I am trying to make an external swf load into the main swf and have the input text work.
View 5 Replies
Sep 28, 2010
I have been working creating a fla file that loads several swfs and random background images. However, I have a custom form that I want to implement and I am having a problem figuring out how to do so. I want to have it work like an inner popup where it blurs and unblurs the background image (like the schedule from hbo.com).
Here's my setup:FLA file contains-UILoader for swf sectionUILoader for random background image
Lets say I load a section called home.swf into the section loader. Within the home.swf I have a button for someone to call up the form.swf. Is it possible for the form to blur the random background image when loaded then unblur it when it's done? If so how would you recommend I go about programming it. **I also have no idea how to unload it.
View 1 Replies
Aug 8, 2011
I am trying to load an external swf image gallery onto a page in my website. I am new to action script and coding itself. I have spent the last five months perfecting my website and now am at the last stretch with just a couple minor issues but it is taking the life out of me trying to figure this out. I have tried to do the empty mc but just can't seem to get the swf to load. I don't know if I'm using the right code or even putting it in the right place. I even tried to use a preloader that I down loaded but keep getting an error Security Sandbox Violation when i load my external swf.
What I am trying to do is get the swf to load on the page that slides onto the stage when I select the gallery button. The main page is set up with a stationary bar with five buttons. One is for the gallery page that loads and that's where I want the swf to load when it slides onto the stage. I am using CS5 and AS 2.Here is the link to my site.I am also having issues with my contact form. I have deleted code and added code that I have found on many different sites but nothing I have tried has workedI am not to worried about the contact form if it's not an easy fix as I can buy one for 5 bucks.I am even willing to pay a small amount through PayPal to buy you a couple rounds or something for your time.Also don't be alarmed by the screeching sound when you click on the page links. it's only for a couple pages then it goes away. Has something to do with the MP3 music I added. Trying to get that taken care of now.
View 9 Replies
Oct 20, 2010
I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF.
I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with:
processing_mc.visible = false;
// Clear the form fields
first_name_txt.text = "";
[code]....
View 2 Replies
Oct 20, 2010
I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:
this.mySWFLoadingClip.addChild(loader);
This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF. I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with, and the problem page is the Guest List page:
[URL]
Below is the code from my Main SWF file and the External SWF file with the form on it:
MAIN SWF:
var Xpos:Number = 0.0;
var Ypos:Number = 192.5;
var swf:MovieClip;
[Code].....
View 5 Replies
Mar 5, 2009
I'm trying to load a jpg from [URL]. I load if from my computer, it works.. load it online, doesn't. And it doesn't give me any errors or anything. The completeListener is not working! Is there a problem with flash loading from other domains or what?.. If I test it, it shows in Safari's activity that the jpg was loaded, but it won't display it.
[Code]....
View 7 Replies
Sep 12, 2009
I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
View 15 Replies
Aug 30, 2009
Is there a way to create a form in which the user can upload a file (like a pdf) with the click of a button? I do not find any component capable of doing that. I presume this could be done with ActionScript.
View 1 Replies
Sep 22, 2009
I have 5 scene's in my flash the first 3 scene are animations. 4 th scene has 4 textinput Box 1 chk box, 1 button.. in this scene i am passing varibles from my form to php file. here is the code For scene4( i called this Inscription form) Its getting datas perfectly.
[Code]....
View 2 Replies
Jun 23, 2010
im coding an AS3 site and need to give the possibility to attach a file in the contact form. (like a browse button to select some file in X directory)My form is working with POST, and a PHP file with mail function, how to do this? i know how to do this in php but im still learning AS3.
View 2 Replies
Aug 27, 2009
I'm trying to do a simple form validation from a text file. The text file has the variables loaded like this:
code1=WIL6542&code2=BISH4765&code3=NICH9876
I am loading the variables from the text file just fine.
I have a single variable input field on the form, it is called code
I have a single button with the actionscript below but it's not working. If I leave the input field blank it passes, if I put a correct or incorrect code in the input box it fails.
on(release){
for(i=1;i<100;i++){
if(eval("code"+i) == code){
[Code].....
View 4 Replies
Jun 15, 2010
I am trying to convert data entered into a form into an xml file which needs to be uploaded.how you go about converting Strings to Files and circumventing the browsing process?
View 1 Replies
Jun 4, 2010
I've been trying to import, embed, or load a contact form into a fla flash website (i have the fla and swf files) however i cant seen to get it to work.
View 6 Replies
Jun 4, 2010
I've been trying to import, embed, or load a contact form into a fla flash website (i have the fla and files) however i cant seem to get it to work. The form is separate file, I have the fla source file for it as well.I'm using Actionscript 3. I would like to have the form dynamical load into my existing project/page [URL]..
View 15 Replies
Mar 25, 2009
I have added following code on form submit button:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("[URL]",
"POST");
}
Another this is that I have to pass the id along with this url. But I am not getting how to get id from my XML file.
Structure of XML is as follows:
<ratings><video file="video1.flv">
<title>Lays</title><runtime>auto</runtime>
<author>Bharati 1</author>
<views>1</views><commercialid></commercialid>
[Code] .....
View 1 Replies
Feb 15, 2012
I'm trying to put together a news system which allows users to write a headline, a short article (300 words)then upload an image to with the piece.I can do the text part with LoadVariables ("uploader.php" , this, "POST" ) which just sends the vars to php and then on into an SQL table and I can do the upload image part with the code below (taken from a Kirups tutorial) - but I can't seem to do both in one go .I Don't care if the image goes to a blob in SQL or into the file system of the server - I just need the text posted to SQL and the image uploaded.
AS2 CODE:
import flash.net.FileReference;
var progressBar:MovieClip;
var reference:FileReference = new FileReference();[code].....
View 20 Replies
May 26, 2010
Our team working on flash/Asp.net shopping cart projects In our projects we need to get previous flash file data. After two or three form submission the first page flash file data are missing. How can we maintain the state of flash file data?
View 1 Replies
Dec 21, 2007
I have been working on the multi upload form over the past couple of days. It's a variation of stuff i have found about the net. The form has to buttons. One for single file uploads and one for multi file uploads.The single file upload button works as it is supposed to but the multi file upload but although does upload all selected files it does not fire off any events.
[Code]...
View 4 Replies
Oct 4, 2010
I'm working on a contact form for one of my clients, and need help implementing it. It has to have three fields (name, phone, and email) and three more fields where they can upload images from their computer. There's gonna be a submit button that when they hit, it emails these six pieces of info. (Presumably using a PHP file.)
View 0 Replies
Sep 17, 2011
How to physical write data on xml file... without using php? or if php must involve how to add data without opening a new window.
below, this doesn't write on xml file but it append without saving it on actual xml file?
..if i want to add a childnode/replace text node and save it..what all things i have to do? or what are the basic requirements to add data on xml file. I know how to retrieve data from a file, now that i have created a form and wants to add data. [code]...
View 1 Replies
Aug 13, 2010
i have a question about a simply mail form using php, i'd like to modify in this way:I wish that when you click on send message also started downloading a file, but checking that the form is filled in correctly and possibly the download links could be read from a text file to avoid having to change each time the fla.[code]
View 1 Replies
Mar 12, 2009
I have some code that parses an external XML file and reads the HTML inside the CDATA block. But it does not read HTML form elements like <input> or <textbox> is there anyway to do this? Is there anyway to have it parse an MXML file to generate the form on the fly?[code]...
View 1 Replies
Aug 16, 2009
I recently went to [URL] where they make a flash banner for you out of you just filling out a few forms. HOW IN THE WORLD DO THEY DO THAT? O_o
I'm just looking for some basics and maybe a link to a place w/ more in-depth stuff.
View 1 Replies
Sep 9, 2009
I have created a window contain a save button. i want to click on this button a file from cd is copied to my hard drive.i found class File but it work air only,i use flash cs4 and File class dosn't work in it.
View 1 Replies