Lingo Dictionary > D-F > frameCount |  |

frameCount

Syntax

    member(whichFlashMember).frameCount
    the frameCount of member whichFlashMember

Description

Flash cast member property; indicates the number of frames in the Flash movie cast member. The `frameCount` member property can have integer values.

This 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.

    "property spriteNum

    on beginSprite me
    	put ""The Flash movie in channel"" && spriteNum && has"" && sprite(spriteNum).member.frameCount && ""frames.""
    end"