LoadVars.send()
Availability
Flash Player 6.
Usage
my_lv.send(url [,target
Parameters
The URL to upload variables to.
url
The browser frame window in which any response will be displayed.
target
The
method
GET
Returns
A string.
Description
Method; sends the variables in the
are concatenated into a string in the application/x-www-form-urlencoded format by default,
my_lv
and the string is posted to the URL using the HTTP
by the
loadVariables()
the value of
my_lv.contentType
method is used unless
If the
parameter is specified, the server's response is displayed in the browser frame
target
window named target. If the
This method is similar to
LoadVars.sendAndLoad()
Availability
Flash Player 6; behavior changed in Flash Player 7.
Usage
my_lv.sendAndLoad(url
Parameters
The URL to upload variables to. If the SWF file issuing this call is running in a web
url
browser,
must be in the same domain as the SWF file; for details, see "Description," below.
url
targetObject
The
method
GET
Returns
A string.
432
Chapter 12: ActionScript Dictionary
,
method])
or
method of the HTTP protocol.
POST
my_lv
action. The MIME content type sent in the HTTP request headers is
, or the default application/x-www-form-urlencoded. The
is specified.
GET
parameter is omitted, the server's response is discarded.
target
.
XML.send()
,
targetObject[, method])
The LoadVars object that receives the downloaded variables.
or
method of the HTTP protocol.
POST
object to the specified URL. All enumerable variables in
method. This is the same format used
POST
POST
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?