User Guide

LoadVars.toString() 327
Example
The following example instantiates a new LoadVars() object, creates two properties, and uses
toString() to return a string containing both properties in URL encoded format:
var my_lv:LoadVars = new LoadVars();
my_lv.name = "Gary";
my_lv.age = 26;
trace (my_lv.toString()); //output: age=26&name=Gary