frameCount
Type
property
Summary
Reports the number of frames in an animated GIF image.
Syntax
get the frameCount of <image>
Description
Use the frameCount property to determine the length of a GIF animation.
If the image is not an animated GIF, its frameCount is zero.
Examples
put the frameCount of image "Welcome Animation" into estNumberOfSecs
Value
Name | Type | Description |
---|---|---|
value | The frameCount of an image is a non-negative integer. This property is read-only and cannot be set. |
Related
command: play
glossary: property, animated GIF, frame, non-negative
property: currentFrame
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile