The length of time, in seconds.milliseconds, between the sprite's frame updates. Read/write at run time; write access is available at run time only when the sprite is stopped.
Syntax
HTML <PARAM NAME="TimerInterval" VALUE="nInterval"> Scripting spriteObj.TimerInterval [=nInterval]
Possible Values
- nInterval
- Expression defining the number of seconds.milliseconds between sprite frame updates. The default interval is 0.100 seconds (0.100) or 10 frames per second.
Remarks
This property specifies the minimum length of time between sprite frame updates. For example, if the timer interval is set to 0.100 seconds and an image is scheduled to display at 0.150 seconds, the image will not be displayed until 0.200 seconds because the timer interval resolution is set to 0.100 milliseconds. If the image is scheduled to appear for 0.050 seconds or less (because of a frame map) it might not even appear.
Example
The following example sets the value of the timer interval indicator on the page to the value of the TimerInterval property for the sprite named SpriteHorse.
document.MyForm.txtTimerInterval.value=SpriteHorse.TimerInterval
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.