Stopping a graphic animation playingΒΆ

AnimateStop()

Stop a graphic animation playing


SYNTAX

AnimateStop(graphic_id)

Stop a graphic animation from playing.

graphic_id

The identifier of the graphic to be stopped. The AnimatePlay() function is used to start a graphic playing.

Use the AnimateSeek() function, if required, to redisplay a particular frame of the animation after it has stopped playing.


EXAMPLE

+graphic Arrow4 at 120,226 {
     image = "/images/arrow4.bmp"
     type = GT_ANIMATE
}
     ...

     AnimateStop(Arrow4)
     AnimateSeek(Arrow4, 0)

RELATED TOPICS

Graphics

Animated graphics

AnimatePlay()

AnimateSeek()