Animate_Play

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > Resources > Avi >

Animate_Play

 

Description

 

Plays an AVI clip in an animation control.

 

Syntax

 

Animate_Play(hWnd, from, to, rep)

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

A handle to the animation control in which to play the AVI clip.

from

Number

No

The zero-based index of the frame where playing begins. The value must be less than 65,536. A value of zero means begin with the first frame in the AVI clip.

to

Number

No

The zero-based index of the frame where playing ends. The value must be less than 65,536. A value of -1 means end with the last frame in the AVI clip.

rep

Number

No

The number of times to replay the AVI clip. A value of -1 means replay the clip indefinitely.

 

Remarks

 

Restrictions

 

See also

 

Examples