|
-
Senior Member
I don't know if this would be possible in your case, but when i'm making a flash form to submit something to a server side script I like to make the form in a movie clip to keep the variables I want to send separate from any other variables around the movie.
Create a new clip in frame 1 of the clip put in your input textfields and put your submit button
add a stop(); action to this frame
on the button use
on (release) {
loadVariables("http://66.242.133.142/jcb/addemail.asp", this, "POST");
}
this should send all the variables contained in the movie clip to your asp script. It might also be a good idea to have the asp page return a variable to flash to indicate success or failure of the script. You can do that by having the ASP page write a variable to the page something like (sorry I don't know ASP so i'm not sure hoe you write stuff to the page)
&done=okay&
or
&done=fail&
in the movie clip you can have a frame loop that once the variables have been sent checks the value of the done variable to see whether the script worked or not.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|