and it works when i preview it in the flash console but when i go to the actual site it does not work becaue i do not get the email that the PHP creates. any thoughts?
the PHP works (if you put [URL] this in it works...) but on the site below when you ht the votenow it does not (although again, it does in teh flash preview when i run that)
I have this code al set up, but I would like for the input fields and check boxes to clear after submition. How do I do that?
import flash.net.URLVariables;import flash.net.URLRequest; submit.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler); function fl_MouseClickHandler(event:MouseEvent):void{ if (eMail.text ==
I've worked with as3 a little but this is my first time creating a form with as3. What I would like to happen with this form is the user enters all the proper info into all the fields. When the user presses the submit button. I want the user to recieve the sent message and I would also like the form feilds to clear(so the know that the data has been sent). The problem I've been having with this is I initially I had them clear on the submit button click... which was clearing all the data before it was posted to the php. So I'm trying it out with this if statement to see when the varSend.method == true; to perform the clearing of the fields. What I would like to know is, will this work as is? and if not what can i do to make it perform the way I want it too?
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).
I already post this question in late December but didn't get a positive reply.How can I get rid of displaying "undefined" in fields and get instead blank fields?Is it possible to build a global function which could be applied to the entire .swf file?
I have an HTML form that I want to upload to MySQL with PHP. That part's easy, but the thing is I want the submit button to be a Flash object. Somehow I need the Flash button to submit the form, but I think I can figure that out. The tricky part is that I need it to set another PHP variable before submitting the form. The variable will be determined by a bunch of stuff, but I can code that in actionscript later. I just need to figure out how to pass the variable back to the webpage. A $_POST variable would probably be fine.
edit: What if the flash object returned some javascript and set a variable that way? making it submit the form as well while still catching a variable?
i am working on a project and i need some so called landing pages. it works like this: <embed src="index.swf?wmode=transparent&index=client" ... i can submit a var to an embeded swf per parameter. does it also work per text in the url-field? example: [URL] client is the var i want to submit to the swf as a parameter.
I've just inherited a flash file on a project since I was the only one who has even seen actionscript code before. So, I'm pretty new to this, but have been programming a pretty long time. What we want is for the animation to begin upon the user clicking it and then when it finishes proceed to the html post submit. From what I see, the code seems mostly to be there, there is a 'stop' event, move next event, and even a 'on press' event. How do I get this to work? I can see the cod in the actions frame, but can't seem to edit it. Attempting to debug it, gives me errors on publishing. (How do I change my publishing?) This is currently actionscript 2.0. (but we seemingly have no external restrictions on keeping it so) As I mentioned, I'm pretty new to this, so if I am asking the wrong questions,
I've been looking to submit some bug reports regarding CS5.5 Pro and there just isn't an option in the "Report a Bug/Feature Request" form. WHY not?? I paid for CS5.5 and autoformat breaks my code, but there's no way to report it.
I'm Trying to make a very simple E mail form using textinput boxes and sending variables to php.Thing is that my erase button stops functioning once I hit the Submit button.[code]
correct flash code and php script for the send button on our church website. I've tried everything, but still can't get it to work. Here is the ActionScript code that is listed:
on (rollOver){this.gotoAndPlay("s1");} on (releaseOutside, rollOut){this.gotoAndPlay("s2");} on (release) {
I'm Trying to make a very simple E mail form using textinput boxes and sending variables to php.Thing is that my erase button stops functioning once I hit the Submit button.here are the scripts for Submit and Erase:
Submit script: on (release) { name = _parent.mailer.name.text;[code].....
I created radio buttons from an XML node[code....When I click the submit button, I want to code in the listener to remove the radio buttons.I have tried using this in my submit listener
for (rd=0; rd<myQStems.length; rd++)[code]....but that doesnt delete them.
Has anyone been successful at submitting an app to the Apple store? I created a Lion virtual machine to use the Application Loader. All I ever get is that it doesn't recognize any of my files as application files, so I can't upload the app.
I am working on a game it is almost complete. The problem that i am having is in the codes for the submit button and the checkboxes the pseudo code is:
1. player chooses two choices for each element listed
2. when the submit button is hit the checkboxes are given a number value
3. those values are added together and compared to the value pulled from the database
4. if correct they go to next substance - it should just reload frame 8 (i think)
5. if incorrect it goes to frame 11
the submit button is not working so i can not tell if the checkboxes are working The full files can be seen at [URL]
I know this seems like a stupid question but I am really not able to get this to work.I need an input box with a submit button.I gave the box a var of levelCodeInput and the frame has a code of [code]When I type skiptut into the input box it doesn't go to frame 8.It just stays the same and nothing happens.I tried tracing accepted in the code on the button as well and that didn't make any output.
I'm trying to submit a form using a AS3.I have a button on my .swf which calls a javascript function in the header of the .html document.I've tested this with javascript alert, and it is working.But I can't seem to make it submit the form.The javascript call I wrote is: [code]
I don't like cookies. For saving data, submitting scores, etc. I'd like everything to be submitted into user's accounts in a mySQL database. I can do all that very easily with PHP, but how would I make it worth with flash/actionscript (I mainly/am used to working with AS2, but I have Flash CS5 now, so I can work with AS3 if necessary or more efficient). I have no idea how to mix actionscript with other languages (other than using a link with get variables, but, aside from the obvious reasons why that won't work, I'd prefer, if possible, to transmit data without any page reloading).
Are there any security holes or downsides I should consider before making a flash login system? I'd like to allow users to login if they wish to submit their score or save their data (mainly for users playing on a third-party site).
I have a text field for product code and a submit button. When a certain code would be submitted, data from an external .txt file will be loaded into a number of other fields.
I'm building a flash-game-site for a while. The big trouble is Secure Score Submitting System .I search on the net and find some ineffective techniques:
-Secret word method: there is an secret word (crypto pass) on the server and flash gets it from server and uses for crypting score data then sends it to server. But the algoritm that does the crypto job, can be accesible with a swf decompiler. Also getting the secret word from server outside of flash is simple. Not safe!
-HTTP_REFERER method: php (or what else) check HTTP_REFERER data to determine where the post coming from. But with a simply firefox extensions, the referer header can be changed. Not safe!
That is my own idea but can only make cracking harder, not more:
-We can get flash vars with js (:swliveconnect) and send to server. Flash just make a fake submit that makes no effect. Just a trick. But not safe
I've got a FLA with the facility of changing colors, adding text, etc...
Does anyone know a method or referance link on how to SUBMIT the online edited graphic data? I'm wondering whether it's possible to get a screenshot on click to be mailed.
I have a question which I think should be fairly simple but my AS knowledge is rather poor so i'm wondering if someone could help me out or point me in a direction to find out how to do this...
I'm playing around with a game, (skinned it and slightly modded it) and at the end I want the player to be able to enter his email and hit a "submit" button and have his score emailed to me? Is this simple?
i have desgined it so that i have written most of the story but the user can sellect say for example the name for the character by selecting a comobox.
i now need to create a submit button that will store their choices, and it anther use them in another frame. to basically to show the user their finished story.
i will paste my code onto here. note the options for combo-boxes are loaded from a simple xml file.
I might as well put it out while I'm writing. I'm having problems linking my Submit button on my form. Here is my code:
stop();var getPHP:URLRequest = new URLRequest("http://www.dggrafix.com/glutenfree2/contactformprocess.php"); submit_btn.addEventListener(MouseEvent.CLICK, formClick); function formClick(event:MouseEvent):void{ navigateToURL(getPHP);}
I put this code on the timeline of the form. Correct me if I'm wrong the submit button just needs to link to your PHP file on your server. I'm getting back a #1009 error Cannot access a property or method of a null object reference.I tried referencing the movie file that the button is in ie: form.submit_btn, still get and error.
I'm a Flash newbie using the program to develop a multimedia lesson. I want to include some practice questions where students are asked to answer a quesion by typing numerical values in the box. Then when they hit "enter" I want it to take them to a new question if they get the right answer, or a screen that says "try again" if they get it wrong. Here's the script that I used. I attached it to the "enter" button. The variable name is "answer_box"
I created a email form and what I want to do is add a coupon after you submit your info.What I'm thinking is people fill out the form they hit the submit button info gets sent and then a page opens up with the coupon to download.