frameCount

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
get the frameCount of <image>
Associationsimage
Summary

Reports the number of frames in an animated GIF image.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
put the frameCount of image "Welcome Animation" into estNumberOfSecs
Values
NameTypeDescription
Value

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

RelatedKeyword: image, integer
Property: currentFrame
Command: play
Glossary: property, animated GIF, frame, non-negative
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.

Tagsmultimedia