[thelist] Flash Action Script question

Chris Johnston chris at fuzzylizard.com
Wed Apr 21 08:11:02 CDT 2004


Diane Soini wrote:

> Is there any way at all to pass only those variables in the query 
> string that I want to pass? It must be a query string, and I cannot 
> use server technologies like php. I want to pass the query string to a 
> static html page for javascript.
>
> It seems like such an oversight that Flash won't let me send a 
> specific query string. I just wonder if I've missed something somewhere.
>
>
Yes, there is. What you need to use is the LoadVars class.

var my_lv = new LoadVars();
my_lv.foo = "bar";
my_lv.send("index.html","GET");

This will only send the variables that you load into it. This is done in 
line 2 of the above example.

chris




More information about the thelist mailing list