User Guide

LoadVars class 89
Property summary for the LoadVars class
Event summary for the LoadVars class
Constructor for the LoadVars class
Availability
Flash Media Server 2.
Usage
new LoadVars()
Parameters
None.
Description
Constructor; creates a LoadVars object. You can use the methods of the LoadVars object to
send and load data.
Example
The following example creates a LoadVars object called my_lv:
var my_lv = new LoadVars();
Property Description
LoadVars.contentType
The MIME type sent to the server when you call the
LoadVars.send() or LoadVars.sendAndLoad() method.
LoadVars.loaded
A Boolean value that indicates whether a LoadVars.load() or
LoadVars.sendAndLoad() operation has completed (true) or
not (
false).
Event handler Description
LoadVars.onData Invoked when data has completely downloaded from the
server or when an error occurs while data is downloading
from a server.
LoadVars.onHTTPStatus Invoked when Flash Media Server receives an HTTP status
code from the server.
LoadVars.onLoad
Invoked when a LoadVars.load() or LoadVars.sendAndLoad()
operation has completed.