See also
send (LoadVars.send method)
(XML.sendAndLoad method)
toString (LoadVars.toString method)
public toString() : String
Returns a string containing all enumerable variables in
encoding application/x-www-form-urlencoded.
Availability: ActionScript 1.0; Flash Player 6
Returns
- A string.
String
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
LocalConnection
Object
|
+-LocalConnection
public dynamic class LocalConnection
extends Object
The LocalConnection class lets you develop SWF files that can send instructions to each other
without the use of
fscommand()
only among SWF files that are running on the same client computer, but they can be running
in different applications--for example, a SWF file running in a browser and a SWF file
running in a projector. You can use LocalConnection objects to send and receive data within a
single SWF file, but this is not a standard implementation; all the examples in this section
illustrate communication between different SWF files.
710
ActionScript classes
,
load (LoadVars.load method)
LoadVars()
or JavaScript. LocalConnection objects can communicate
,
sendAndLoad
, in the MIME content
my_lv
object, creates two properties, and uses
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?