Stop Method

Sprite Control

Ends playback at the current frame and resets the sprite's playback position to the beginning. This method is scriptable only.

Syntax

ScriptingspriteObj.Stop( )

Example

The following example stops playing the sprite named SpriteHorse in response to an onclick event.

SUB SpriteHorse_onclick
    SpriteHorse.Stop()
END SUB

Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.