loading variables from flash to asp

I have a textbox, which contains a password,
I want to load it to an asp page using post method
how do I use the LoadVariables method?
and how do I get the content in the asp page?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try this bit of code. It more or less copy's what's in the textbox then posts it to your asp page.
It works on every language weather its php, asp, xml etc so in the future you can use the same command except you'll need to change the variables to suit your needs.

myText = new LoadVars();
myText.txt_1 = txt_1.text;       // txt_1 is the instance name of your textbox
myText.load("http://www.yourwebsite.com/scripts/yourpage.asp", ,"POST");
myText.onLoad = function(success) {
     if (success) {
          txt_1.text = "Your password has successfuly been sent.";
     } else {
          txt_1.text = "An error has occured."

If you need anymore help, feel free to ask.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zolpoAuthor Commented:
Thanks  a lot!
No problem :)


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.