Seek Method

Sprite Control

Sets the sprite playback to start at the specified elapsed time.

Syntax

ScriptingspriteObj.Seek ( time )

Parameters

time
Elapsed time after which the sprite begins playing.

Example

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

SUB SpriteHorse_onclick
    SpriteHorse.seek(0.0)
END SUB

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