MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE Manuale Utente Pagina 62

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 155
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 61
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
59
Property summary
Method summary
Event handler summary
LoadVars constructor
new LoadVars()
Creates a LoadVars object. You can use the methods of the LoadVars object to send and load data.
Availability
Flash Media Server 2
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).
Method Description
LoadVars.addRequestHeader() Adds or changes HTTP request headers (such as Content-Type or SOAPAction) sent with
POST actions.
LoadVars.decode() Converts the query string to properties of the specified LoadVars object.
LoadVars.getBytesLoaded() Returns the number of bytes loaded from the last or current LoadVars.send() or
LoadVars.sendAndLoad() method call.
LoadVars.getBytesTotal() Returns the number of total bytes loaded during all LoadVars.send() or
LoadVars.sendAndLoad() method calls.
LoadVars.load() Downloads variables from the specified URL, parses the variable data, and places the
resulting variables in the LoadVars object that calls the method.
LoadVars.send() Sends the variables in the specified object to the specified URL.
LoadVars.sendAndLoad() Posts the variables in the specified object to the specified URL.
LoadVars.toString() Returns a string containing all enumerable variables in the specified object, in the MIME
content encoding application/x-www-urlform-encoded.
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 Interactive Server receives an HTTP status code from the server.
LoadVars.onLoad() Invoked when a LoadVars.send() or LoadVars.sendAndLoad() operation has
completed.
Vedere la pagina 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 154 155

Commenti su questo manuale

Nessun commento