Syntax

Result = dbLoadAnimation(Filename.s, AnimationID)
Description

If #PB_Any is used as the AnimationID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the AnimationID parameter.

This command loads an animation file into the specified animation number. The animation file must be of the MPEG, AVI, Quicktime, WAV, AIFF, AU or SND format. You must specify an Animation Number between 1 and 32. Once you have loaded the animation file successfully, you can use the specified animation number to place, play and stop the animation.

See Also

dbAnimationExist, dbLoadDVDAnimation