fixedRate

Syntax: the fixedRate of sprite whichFlashSprite
the fixedRate of member whichFlashMember
Type: Cast member property; sprite property
Description: This property controls the frame rate of a Flash movie sprite. This property is ignored if the sprite's playbackMode property is anything other than #fixed. The fixedRate property can have integer values.
The fixedRate property can be tested and set. The default setting is 15.
Example: This handler adjusts the frame rate of a Flash movie sprite. As parameters, the handler accepts: a sprite reference, an indication of whether to speed up or slow down the Flash movie, and the amount to adjust the speed.
on adjustFixedRate whichSprite, adjustType, howMuch
	case adjustType of
		#faster:
			set the fixedRate of sprite whichSprite to ¬
				the fixedRate of sprite whichSprite + howMuch
		#slower:
			set the fixedRate of sprite whichSprite to ¬
				the fixedRate of sprite whichSprite - howMuch
	end case
end

Related Lingo: playBackMode of member property

Previous | Next