Contents Index Topic Contents | ||
Previous Topic: PositionChange Event Next Topic: StateChange Event |
ReadyStateChange Event
Indicates changes to the control's state of readiness.
Syntax
Private Sub object_ReadyStateChange(ByVal ReadyState As Long)Parameters
object Object expression that evaluates to an ActiveMovie Control. ReadyState Current state of readiness, after the change occurred. Settings
Following are possible settings for the ReadyState parameter.
Setting Value Description amvUninitialized 1 The FileName property has not been initialized. amvLoading 0 The ActiveMovie Control is asynchronously loading a file. amvInteractive 3 The control loaded a file, and downloaded enough data to play the file, but has not yet received all data. amvComplete 4 All data has been downloaded. Remarks
When you change the FileName property, applications should check the control's state of readiness before attempting to call the Run method on the newly opened file. Applications should call the Run method only if the ReadyState parameter equals amvInteractive or amvComplete.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.