User Guide
LoadVars.toString() 399
LoadVars.toString()
Availability
Flash Player 6.
Usage
my_lv.toString() : String
Parameters
None.
Returns
A string.
Description
Method; returns a string containing all enumerable variables in my_lv, in the MIME content
encoding application/x-www-form-urlencoded.
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