Sets the sprite playback to a specific frame.
Syntax
Scripting spriteObj.FrameSeek( frame )
Parameters
- frame
- New playback frame for the sprite.
Example
The following example seeks the sprite named SpriteHorse in response to an onclick event.
SUB SpriteHorse_onclick SpriteHorse.FrameSeek(5) END SUBMouse over the sprite to see it change. Right click inside the frame and choose View Source to see the source code.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.