Difference between revisions of "Event.PROGRESS"

From GiderosMobile
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Value:''' progress<br/>
 
'''Value:''' progress<br/>
 +
'''Defined by:''' [[UrlLoader]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate>This event is dispatched to notify of how far the download has progressed.</translate>
+
This event is dispatched to notify of how far the download has progressed.
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''bytesLoaded''': (number) <translate>The number of bytes loaded.</translate><br/>
+
'''bytesLoaded''': (number) the number of bytes loaded<br/>
'''bytesTotal''': (number) <translate>The total number of bytes that will be loaded or -1 if the length can't be determined.</translate><br/>
+
'''bytesTotal''': (number) the total number of bytes that will be loaded or -1 if the length can't be determined<br/>
 +
 
 +
{{UrlLoader}}

Latest revision as of 13:31, 12 March 2023

Available since: Gideros 2011.6
Value: progress
Defined by: UrlLoader

Description

This event is dispatched to notify of how far the download has progressed.

Parameters

bytesLoaded: (number) the number of bytes loaded
bytesTotal: (number) the total number of bytes that will be loaded or -1 if the length can't be determined