Skip to main content

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​

NameTypeDescription

value

The frameCount of an image is a non-negative integer. This property is read-only and cannot be set.

command: play

glossary: property, animated GIF, frame, non-negative

keyword: image, integer

property: currentFrame

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?