ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > LoadVars > contentType (LoadVars.contentType property) | |||
public contentType : String
The MIME type that is sent to the server when you call LoadVars.send() or LoadVars.sendAndLoad(). The default is application/x-www-form-urlencoded.
Availability: ActionScript 1.0; Flash Player 6
The following example creates a LoadVars object and displays the default content type of the data that is sent to the server.
var my_lv:LoadVars = new LoadVars(); trace(my_lv.contentType); // output: application/x-www-form-urlencoded
send (LoadVars.send method), sendAndLoad (LoadVars.sendAndLoad method)
|
|
|
|