frameCount

Syntax: the frameCount of member whichFlashMember
Type: Cast member property
Description: This property indicates the number of frames in the Flash movie cast member. The frameCount of member property can have integer values.
The frameCount of member property can be tested but not set.
Example: This sprite script displays, in the Message window, the channel number and the number of frames in a Flash movie.
on beginSprite me
	set spriteRef = the spriteNum of me
	put "The Flash movie in channel" && spriteRef && "has" && ¬
		the frameCount of member the memberNum of sprite spriteRef && "frames."
end


Previous | Next