NumFrames Property

Sprite Control

The number of frames in the Sprite source. Read/write at run time; write access is available only when the sprite is stopped.

Syntax

HTML<PARAM NAME="NumFrames" VALUE="nframes">
ScriptingspriteObj.NumFrames [=nframes]

Possible Values

nframes
Integer indicating the total number of frames in the image for this frame source.

Remarks

If the sprite includes a frame map, the NumFrames property gives the number of frames defined in the map. If you change the NumFrames, NumFramesAcross, or NumFramesDown properties, the sprite does not refresh until you set the SourceURL property again.


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