AnimationControl

 

Type

 

enum AnimationControls

 

Description

 

Controls the way animated images are handled. Values are:

 

0

PlaybackOff

Animated images are not played.

1

PlaybackStart

Animated image playback is started.

2

PlaybackStop

Animated image playback is stopped for this page.

3

PlaybackNever

Only the first frame of images is processed.

 

Example

 

REM Stop animated image playback for the current page:

WebsterPro1.AnimationControl = PlaybackStop

 

Remarks

 

Setting AnimationControl to PlaybackStop halts playback for the current page (same as pressing the escape key), and playback restarts when another page is made current. Set to PlaybackOff to completely suppress playback.

 

Maximum resource efficiency is achieved by using PlaybackNever, resulting in only the first frame being loaded from an image file and subsequent frames, if any, being ignored. Animated images loaded while AnimationControl is set to PlaybackNever cannot be played.