palindromeFrames

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the palindromeFrames of <image> to {true | false}
Associationsimage
Summary

Specifies that a looping animated GIF plays forward and backward.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the palindromeFrames of image "Construction" to true
Values
NameTypeDescription
Value

The palindromeFrames of an image is true or false. By default, the palindromeFrames property of newly created images is set to false.

RelatedKeyword: image
Property: currentFrame
Object: image
Glossary: property, animated GIF
Description

Use the palindromeFrames property to change the way an animated GIF image repeats itself.

An animated GIF image can be set to loop over and over, instead of playing the animation once and then stopping. If the palindromeFrames property is set to true, the image plays forward, then plays backward from the end, then plays forward again, and so on.

If the palindromeFrames is false, the image plays from the beginning to the end, then skips back to the beginning to start the next loop.

If the contents of the image is not an animated GIF, or the image's repeatCount is zero, the setting of the palindromeFrames property has no effect.

Tagsmultimedia