PDA

View Full Version : Sending flash variables to ASP


Meijo
11-08-2003, 11:45 AM
:confused:
Hi, I need some help with a script. This thing is going waaaaaaaaaaaay out of my knowledge.
I have a flash page where I have an addition of numbers. So I come up with a variable with the total amount.
I need to include the total amount on a asp script that goes like that:

getURL("http://www.xxxxx.com/sec/sim.asp?x_amount=$27.95&x_description=xxxxxxxx", "_self");

The part I need to change is that right now it only works if I put the amount on the script (the $27.95). But this amount will change depending on the result of the addition.
Is there any way that I can make this line of script take the amount of the variable?

Billy T
11-08-2003, 11:47 AM
getURL("http://www.xxxxx.com/sec/sim.asp?x_amount=$"+yourVar+"&x_description=xxxxxxxx", "_self");

cheers

Meijo
11-08-2003, 10:07 PM
I just tried it and it worked!!!

THANK YOU SO MUCH.:D

Billy T
11-08-2003, 10:10 PM
no problem ;)