VIDEO

 

StopAnimation

Stops an animation from running

Usage:

StopAnimation anim_variable

 

DrawAnimation

Draws an animation to wanted location at wanted size. Defaults the original size at (0,0).

Usage:

DrawAnimation anim_variable [, X] [, Y] [, Width] [, Height]

 

PlayAnimation

Opens an animation and starts playing it. Once an animation has been opened, it'll run on background whether you drew it or not. You can play any video files you have a valid codec for.

Usage:

PlayAnimation filename$

 

AnimationWidth

Returns the original width of an opened animation. In pixels.

Usage:

width = AnimationWidth(anim_variable)

 

AnimationHeight

Returns the original height of an opened animation. In pixels.

Usage:

height = AnimationHeight(anim_variable)

 

AnimationPlaying

Returns True if an animation is playing (hasn't ended yet). Otherwise Zero. You can, for example, create a loop that continues until the animation is finished, and then closes the program.

Usage:

playing = AnimationPlaying(anim_variable)