User Guide

384 Chapter 2:
LoadVars.contentType
Availability
Flash Player 6.
Usage
my_lv.contentType:String
Description
Property; 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
LoadVars.send(), LoadVars.sendAndLoad()