Flash Lite 2.x and 3.0 ActionScript Language Reference

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.

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

See also

send (LoadVars.send method), sendAndLoad (LoadVars.sendAndLoad method)