User Guide
LoadVars class 99
Parameters
url A string; the URL to which to upload variables.
target A File object. If you use this optional parameter, any returned data is output to the
specified File object. If this parameter is omitted, the response is discarded.
method A string indicating the GET or POST method of the HTTP protocol. The default
value is
POST. This parameter is optional.
Returns
A Boolean value indicating success (true) or failure (false).
Description
Method; sends the variables in the myLoadVars object to the specified URL.
All enumerable variables in the
myLoadVars object are concatenated into a string that is
posted to the URL using the HTTP
POST method.
The MIME content type sent in the HTTP request headers is the value of
LoadVars.contentType.
See also
LoadVars.sendAndLoad()
LoadVars.sendAndLoad()
Availability
Flash Media Server 2.
Usage
myLoadVars.sendAndLoad(url, target[, method ] )
Parameters
url A string; the URL to which to upload variables.
target The LoadVars object that receives the downloaded variables.
method A string; the GET or POST method of the HTTP protocol. The default value is POST.
This parameter is optional.
Returns
A Boolean value indicating success (true) or failure (false).