Syntax | number:=GetIconProperty(@" IconTitle", #bytesStreamed) |
|||
Type | Icon property |
|||
Description | This property indicates the number of bytes of the specified sprite icon that have loaded into memory. It returns an integer value.
You cannot set the |
|||
Example | This repeat loop checks the percentStreamed property and then uses the stream method to load a sprite icon into memory. Every time it streams part of the sprite icon into memory, it uses the bytesStreamed property to report how many bytes have been streamed.
repeat while GetIconProperty(@"Flash Icon", #percentStreamed) < 100 CallIcon(@"Flash Icon", #stream) Message:="Bytes streamed:"^GetIconProperty(@"Flash Icon", #bytesStreamed) end repeat |
|||
Related Functions | bufferSize property, stream method
|