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

Flash Lite 2.0

Example

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