G-L > LoadVars.sendAndLoad |
![]() ![]() ![]() |
LoadVars.sendAndLoad
Availability
Flash Player 6.
Usage
myLoadVars
.sendAndLoad(
url
, targetObject
[,method
])
Parameters
loadVarsObject
The LoadVars object to upload variables from.
url
The URL to upload variables to.
targetObject
The LoadVars object that receives the downloaded variables.
method
The "GET
"
or "POST
" method of the HTTP
protocol.
Returns
A string.
Description
Method; posts variables in the myLoadVars
object to the specified URL. The server response is downloaded, parsed as variable data, and the resulting variables are placed in the targetObject
object.
Variables are posted in the same manner as LoadVars.send
. Variables are downloaded into targetObject
in the same manner as LoadVars.load
.
This method is similar to the XML.sendAndLoad
method of the XML object.
![]() ![]() ![]() |