LoadVars Question

Hi,

I’m using Loadvars to try and pass data as well as bring data back on one ASP file.

The issue im having is that I cant get flash to send variables to ASP and then return the info from ASP at the same instant.

I can get it to do either individually but not at the same time.

This is what im currently working with:

stop();
myLoadVar = new LoadVars ();
myLoadVar.load("http://localhost/web/accessform.asp");
myLoadVar.onLoad = function (success){

if (success == true) {

output.variable = "test"
output.htmlText=myLoadVar.test


}
}

On this point in the timeline is a field with the variable of “sslookup” that the ASP page is looking for in order to decide what to send back. The ASP page is working because I’ve tested it in html with a response.write.

I looked up loadvars and found this :

myLoadVar.sendAndLoad(“http://localhost/web/accessform.asp”);

But this also does not work.

Has anyone done this?:sen: