Stop has two syntaxes.
To |
Use |
---|---|
Deactivate a timing object |
|
Stop playing an animation |
Deactivates a timing object.
Timing objects
timingobject.Stop ( )
Argument |
Description |
---|---|
timingobject |
The name of the timing object you want to deactivate |
Integer. Returns 1 if it succeeds and -1 if the timer is not running or could not be stopped.
Use this function to deactivate a timing object. A stopped timer can be reactivated with the Start function.
This statement stops the timing object instance MyTimer:
MyTimer.Stop()
Stops an animation (an AVI clip) from playing.
Animation controls
animationname.Stop ( )
Argument |
Description |
---|---|
animationname |
The name of the animation control displaying the AVI clip |
Integer. Returns 1 if it succeeds and -1 if the animation is not running or could not be stopped.
Use this function to stop an animation that is playing. A stopped animation can be restarted with the Play function.
This statement stops the AVI clip that is playing in the animation control MyAnimation:
MyAnimation.Stop()