LoadVars.send()

Availability

Flash Player 6.

Usage

my_lv.send(url [,target, method])

Parameters

url The URL to upload variables to.

target The browser frame window in which any response will be displayed.

method The GET or POST method of the HTTP protocol.

Returns

A string.

Description

Method; sends the variables in the my_lv object to the specified URL. All enumerable variables in my_lv are concatenated into a string in the application/x-www-form-urlencoded format by default, and the string is posted to the URL using the HTTP POST method. This is the same format used by the loadVariables() action. The MIME content type sent in the HTTP request headers is the value of my_lv.contentType, or the default application/x-www-form-urlencoded. The POST method is used unless GET is specified.

If the target parameter is specified, the server's response is displayed in the browser frame window named target. If the target parameter is omitted, the server's response is discarded.

This method is similar to XML.send().