MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Uživatelský manuál Strana 86

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 172
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 85
83
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
name=Mort&score=250000
name -> Mort
score -> 250000
contentType -> application/x-www-form-urlencoded
loaded -> false
LoadVars.getBytesLoaded()
myLoadVars.getByesLoaded()
Returns the number of bytes loaded from the last or current LoadVars.load() or LoadVars.sendAndLoad()
method call. The value of the
contentType property does not affect the value of getBytesLoaded().
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 determined—for 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.
Zobrazit stránku 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 171 172

Komentáře k této Příručce

Žádné komentáře