Play Method

       

Plays an .avi file in the Animation control.

Syntax

object.Play [= repeat, start, end]

Part Description
object Required. An object expression that evaluates to an Animation control.
Repeat Optional. Integer that specifies the number of times the clip will be repeated. The default is -1,  which causes the clip to repeat indefinitely.
Start Optional. Integer that specifies the starting frame. The default value is 0, which starts the clip on the first frame. The maximum value is 65535.
end Optional. Integer that specifies the ending frame. The default value is -1, which indicates the last frame of the clip. The maximum value is 65535.

Data Type

Integer

Remarks

Use the Stop method to stop an .avi file from playing.