Yes you can use the LoadVars and try looking up sendAndLoad and onLoad.

I usually bundle up my data into the LoadVars to send it off, then
define what should happen when the response (either success or not) is
returned form the server in the onLoad. That's where you can tell your
app to either show a failed message, or go to the success message within
flash.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen
Ford
Sent: 23 August 2006 09:57
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Passing values to a backend

I have a created a little form in flash. I need to get the values into a
backend. What I have is a variable called sQuery, like so:
 
sQuery =
questionnaire.asp?firstname=James%20J.&lastname=Delaney&jobtitle=Web%20D
ev&[EMAIL PROTECTED]&company=The%20Factory&phone=34563456&customer=tru
e&q1=70000&q2=39
 
Now originally, I was simply using the following getURL:
 
getURL(sQuery)
 
Which would send them to the .asp page (which did it's backend thing)
and they would be shown a thankyou page. BUT now, I need to send the
values to the backend, but show the user a thankyou page in the flash
app. Therefore I don't think I can use getURL. Can anyone advise on what
I should be using now, do I need to use a LoadVars object or such ??? I
need to 'fork' off the values to the database but stay on the page with
the flash movie.
 
Thanks in advance._______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to