ve got my project almost completed. Now i'm facing with another challenge as usuall. I dont know why this has to be so complicated, ive been searching for the answer and still nothing yet. I have components that i want to send the values or info to an email address, a form. Needs to link to a php script. I cant find a decent sample or tutorial ou there on how to do this. If any one has an idea please reply....:Q
Hello, this is relativelly simple. you can use this code: loadVariables("file.php", this.variables_mc,"POST"); this sends all the variables from the level the code is to the file.php file using POST. then loads in the variables_mc all the variables the script returns, if there are some. is there are, all the variables from the variables_mc will be replaced by the new variables, even if the names aren't the same, so be careful. you can use as a method of sending variables the GET, by replacing POST in the script. you can find out more information if you search about loadVariables() funciton in flash help. I hope you will finish your project now.. good luck
coul you provide an example, with 3 fields, like name(text input), email, subject. I tried to look it up in help but cant seem to get it right. I dont understand the code enough.
ok, i've done something.. i hope it will work, because my host doesn't support php so I can naot show you a page with it working.. you can download the source from here(contains all the files needed) : http://droopy.ro/exemples/send_vars.zip
Don't see what you're looking for? Try a search.
|