G-L > LoadVars.toString

 

LoadVars.toString

Availability

Flash Player 6.

Usage

loadVarsObject.toString()

Parameters

None.

Returns

A string.

Description

Method; returns a string containing all enumerable variables in the LoadVars object, in the MIME content encoding application/x-www-urlform-encoded.

Example

var myVars = new LoadVars();
myVars.name = "Gary";
myVars.age = 26;
trace (myVars.toString());
would output
name=Gary&age=26