Lingo Dictionary > S > size

 

size

Syntax

member(whichCastMember).size
the size of member whichCastMember

Description

Cast member property; returns the size in memory, in bytes, of a specific cast member number or name. Divide bytes by 1024 to convert to kilobytes.

Example

The following line outputs the size of the cast member Shrine in a field named How Big:

member("How Big").text = string(member("shrine").size)