Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
michaelam1 webforumsuser@macromedia.com #1
Passing variables through a string that already has variable in it
I'm trying to pass variables collected from a flash form through a string. When it adds these variables to the string it automatically puts a ? in the front of it. That's all good except there are already variables in the string that need to stay there. I just need to add new ones on to the end. Any ideas?
Here's an example of the code I'm using:
var sender = new LoadVars();
submit_pb.setClickHandler("submitForm");
function submitForm () {
// Assemble text field values into our LoadVars object.
sender.address = address_txt.text;
sender.fname = PID1_txt.text;
sender.lname = PID2_txt.text;
sender.zip = PID11_txt.text;
// Transfer the data to the server-side script.
sender.send("http://test.com/Survey/dspSurvey.cfm?N=13&SID=29&SEQ=2", "_Blank", "GET");
}
I have to have the ?N=13&SID=29&SEQ=2 in the string first.
Thanks for the help!
michaelam1 webforumsuser@macromedia.com Guest
-
#7056 [Com]: Setting string variables to value starting with '<' cause string to be empty.
ID: 7056 Comment by: davidgjenkins at ntlworld dot com Reported By: tammy at synchronis dot com Status: Closed... -
How to replace a variable string within /* variable_string */ with x for each character in string?
How to replace a variable string within /* variable_string */ with x for each character in string? The string may span on multiple lines. for... -
Replacing code based on static variables to variable variables.
Can anyone give me some help or tips in converting this code to take 2 variables that will specify the number of Pack type lines and the number of... -
passing javascript variable into asp variable using vbscript
The subject pretty much sums up what I need to do. Here is what I have so far, but still can't figure out how to get it working: <script... -
passing ASP.net Variable string
This reminds me a question. What advantage or disadvantage by using Context.Items? How is this being handled? "Steve C. Orr, MCSD"...



Reply With Quote

