Loadvars.tostring() - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

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
encoding application/x-www-form-urlencoded.
Example
The following example instantiates a new
to return a string containing both properties in URL encoded format:
toString()
var my_lv:LoadVars = new LoadVars();
my_lv.name = "Gary";
my_lv.age = 26;
trace (my_lv.toString()); //output: age=26&name=Gary
my_lv
object, creates two properties, and uses
LoadVars()
, in the MIME content
LoadVars.toString()
399

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents