Lingo Dictionary > O-R > playBackMode

 

playBackMode

Syntax

sprite(whichFlashSprite).playBackMode
the playBackMode of sprite whichFlashSprite
member(whichGIFAnimMember).playBackMode
the playBackMode of member whichGIFAnimMember

Description

Cast member and sprite property; controls the tempo of a Flash movie or animated GIF cast member with the following values:

#normal (default)—Plays the Flash movie or GIF file as close to the original tempo as possible.

#lockStep—Plays the Flash movie or GIF file frame for frame with the Director movie.

#fixed—Plays the Flash movie or GIF file at the rate specified by the fixedRate property.

This property can be tested and set.

Example

This sprite script sets the frame rate of a Flash movie sprite to match the frame rate of the Director movie:

property spriteNum
on beginSprite me
	sprite(spriteNum).playBackMode = #lockStep
end

See also

fixedRate