Constructor for the LoadVars class
Availability
Flash Player 6.
Usage
new LoadVars()
Parameters
None.
Returns
Nothing.
Description
Constructor; creates a LoadVars object. You can then use the methods of that LoadVars object to
send and load data.
Example
The following example creates a LoadVars object called
var my_lv = new LoadVars();
LoadVars.addRequestHeader()
Availability
Flash Player 6.
Usage
my_lv.addRequestHeader(headerName, headerValue)
my_lv.addRequestHeader(["headerName_1", "headerValue_1" ... "headerName_n",
"headerValue_n"])
Parameters
An HTTP request header name.
headerName
headerValue
Returns
Nothing.
Description
Method; adds or changes HTTP request headers (such as
with
actions. In the first usage, you pass two strings to the method:
POST
. In the second usage, you pass an array of strings, alternating header names and
headerValue
header values.
If multiple calls are made to set the same header name, each successive value will replace the value
set in the previous call.
426
Chapter 12: ActionScript Dictionary
The value associated with
:
my_lv
.
headerName
Content-Type
or
) sent
SOAPAction
and
headerName
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers