MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 433

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

Description
Method; posts variables in the
is downloaded, parsed as variable data, and the resulting variables are placed in the
targetObject
Variables are posted in the same manner as
in the same manner as
targetObject
In SWF files running in a version of the player earlier than Flash Player 7,
same superdomain as the SWF file that is issuing this call. For example, a SWF file at
www.someDomain.com can load variables from a SWF file at store.someDomain.com, because
both files are in the same superdomain of someDomain.com.
In SWF files of any version running in Flash Player 7 or later,
domain (see
"Flash Player security features" on page
www.someDomain.com can load variables only from SWF files that are also at
www.someDomain.com. If you want to load variables from a different domain, you can place a
cross-domain policy file on the server hosting the SWF file that is being accessed. For more
information, see
This method is similar to
LoadVars.toString()
Availability
Flash Player 6.
Usage
my_lv.toString()
Parameters
None.
Returns
A string.
Description
Method; returns a string containing all enumerable variables in
encoding application/x-www-form-urlencoded.
Example
var myVars = new LoadVars();
myVars.name = "Gary";
myVars.age = 26;
trace (myVars.toString());
//would output
//name=Gary&age=26
object to the specified URL. The server response
my_lv
object.
"About allowing cross-domain data loading" on page
XML.sendAndLoad()
LoadVars.send()
.
LoadVars.load()
188). For example, a SWF file at
.
. Variables are downloaded into
must be in the
url
must be in exactly the same
url
190.
, in the MIME content
my_lv
LoadVars.toString()
433

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents