DarkBASIC Professional Help Wiki
Advertisement


This command loads an animation file into the specified animation number.

Syntax
LOAD ANIMATION Filename,Animation Number
Parameters
Filename

String
This is the filename of the animation to be loaded, and should be a file format supported by the operating system such as MPEG, AVI, Quicktime, WAV, AIFF, AU or SND Animation Number Integer
This value specifies the animation number, between 1 and 32

Returns

This command does not return a value.

Description

Once you have loaded the animation file successfully, you can use the specified animation number to place, play and stop the animation.

Example Code
LOAD ANIMATION "video.avi",1

PLAY ANIMATION 1

WAIT KEY
Advertisement