-- Lingo syntaxspriteObjRef.endFrame // JavaScript syntaxspriteObjRef.endFrame;
Sprite property; returns the frame number of the end frame of the sprite span. Read-only.
This property is useful in determining the span in the Score of a particular sprite.
This property is available only in a frame that contains the sprite. It cannot be applied to sprites in different frames of the movie.
This statement output reports the ending frame of the sprite in channel 5 in the Message window:
-- Lingo syntax put(sprite(5).endFrame) // JavaScript syntax put(sprite(5).endFrame);