?
Solved

loading variables from flash to asp

Posted on 2003-11-30
3
Medium Priority
?
280 Views
Last Modified: 2010-04-03
Hi
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?
thank

0
Comment
Question by:zolpo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
OBCT earned 200 total points
ID: 9844997
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.

Cheers

-OBCT
0
 
LVL 1

Author Comment

by:zolpo
ID: 9845098
Thanks  a lot!
0
 
LVL 9

Expert Comment

by:OBCT
ID: 9845114
No problem :)

Cheers!

-OBCT
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question