DQBcloseFLI
SUB

Prototype

DECLARE SUB DQBcloseFLI ()

Parameters

Returns

none

Description

Closes a FLI file that was previously opened with the DQBopenFLI function. You must close a FLI file with this function before attempting to open another one, otherwise you'll get an error, as DirectQB can handle only one opened FLI animation at a time. If no FLIs were opened, this function does nothing.

Notes:

This function is meant to be used only in conjunction with DQBopenFLI and DQBplayFLIstep. If you're going to play a whole FLI animation as is by calling DQBplayFLI, there's no need to call also this function when the animation ends. DQBclose automatically calls this function.

Example

See DQBplayFLIstep example