all groups > flash data integration > march 2005 >
You're in the

flash data integration

group:

Mx 2004 form to ASP + VB Script


Mx 2004 form to ASP + VB Script wannaData
3/23/2005 10:02:07 AM
flash data integration: Hello

I'll start an aplication based ond flash that must interact with a database. I
only have Flash MX 2004 with remoting actionscript components. As i'm not a
solid programmer I would like to know if it's possible to send the result of a
form made in flash to an Update, or Insert Record page done with ASP + VB
Script. It is possible to use the loadvars with post method in flash, and then
have a target page in asp with an update form?

I hope you can help me because I remain with a lot of doubts after seing
almost all the help available in this site.
Re: Mx 2004 form to ASP + VB Script Randy1969
3/24/2005 1:39:05 AM
Yes it is, look at the LoadVars Object with the sendAndLoad method, you can
then post your form data to ASP, and return a response from the ASP form once
the operation is completed to fire a call back function in flash.

Regards,
Randy Poole
CIO
TelSim, Inc (http://www.telsim.com)
Yahoo_IM:telsim_inc

Re: Mx 2004 form to ASP + VB Script wannaData
3/24/2005 6:24:08 PM
Hello
Thank you for your reply, thanks to you the application is now on it's way.

Well, I have a new problem. I want to get and use in Flash the value of a
specific variable that comes from an ASP page.
I'm using the loadvars.load () object, but so far I was only able to get a
string with all the variables taht come from the ASP page, and not variable by
variable as I want, can't you help me on this? On being able to make an
actionscript variable with the value of a specific variable that comes from ASP?

Here is the code of the loadVars.load () that I'm using



var my_lv:LoadVars = new LoadVars();
my_lv.onLoad = function(success:Boolean) {
if (success) {
trace(this.toString());
} else {
trace("Error loading/parsing LoadVars.");
}
};
my_lv.load("http://localhost/ESTUDO/teste_vervariosdados_apagar.asp");
AddThis Social Bookmark Button