Skip to main content

loadProgress

Type

message

Summary

This message is sent when one of the tiles in the image list is finished loading.

Syntax

on loadProgress <pLoaded>, <pTotal>, <pUnresolvedImages>

Description

Use the loadProgress message if you want to do something when one of the image list tiles finishes loading.

Parameters

NameTypeDescription

pLoaded

integer

The number of tiles that have been loaded.

pTotal

integer

Total number of tiles that the list of images has.

pUnresolvedImages

integer

Number of tiles for which the image cannot be resolved.

Examples

on loadProgress pLoaded, pTotal, pUnresolvedImages
set the startValue of scrollbar "loadProgress" to 0
set the startEnd of scrollbar "loadProgress" to pTotal
set the thumbPosition of scrollbar "loadProgress" to pLoaded
end loadProgress

Compatibility and Support

OS

mac

windows

linux

ios

android

Platforms

desktop

mobile

web