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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 155
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 64
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
62
Availability
Flash Media Server 2
Returns
A number.
See also
LoadVars.getBytesTotal()
LoadVars.getBytesTotal()
myLoadVars.getBytesTotal()
Returns the total number of bytes loaded into an object during allLoadVars.load() or LoadVars.sendAndLoad()
LoadVars.load()
or LoadVars.sendAndLoad()method calls. Each time a call to load() or sendAndLoad() is
issued, the
getBytesLoaded() method is reset, but the getBytesTotal() method continues to grow.
The value of the
contentType property does not affect the value of getBytesLoaded().
Availability
Flash Media Server 2
Returns
A number. Returns
undefined if no load operation is in progress or if a load operation has not been initiated.
Returns
undefined if the number of total bytes can’t be determinedfor example, if the download was initiated but
the server did not transmit an HTTP content length.
See also
LoadVars.getBytesLoaded()
LoadVars.load()
myLoadVars.load(url)
Downloads variables from the specified URL, parses the variable data, and places the resulting variables into the
LoadVars object that calls the method. You can load variables from a remote URL or from a URL in the local file
system; the same encoding standards apply to both.
Any properties in the
myLoadVars object that have the same names as downloaded variables are overwritten. The
downloaded data must be in the MIME content type and be application/x-www-urlform-encoded.
The
LoadVars.load() method call is asynchronous.
Availability
Flash Media Server 2
Parameters
url A string indicating the URL from which to download variables.
Returns
A boolean value indicating success (
true) or failure (false).
Vedere la pagina 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 154 155

Commenti su questo manuale

Nessun commento