User Guide

Lingo Dictionary 151
Example
This statement sets the comments of the member Backdrop to the string “Still need to license
this artwork”:
member("Backdrop").comments = "Still need to license this artwork"
See also
creationDate, modifiedBy, modifiedDate
compressed
Syntax
member(whichCastmember).texture(whichTexture).compressed
Description
3D texture property; indicates whether the source cast member of the texture is compressed
(TRUE) or not (FALSE). The value of the compressed property changes automatically from TRUE
to
FALSE when the texture is needed for rendering. It can be set to FALSE to decompress the
texture at an earlier time. It can be set to
TRUE to release the decompressed representation from
memory. Cast members used for textures will not be compressed if this value is TRUE (apart from
the standard compression used for bitmap cast members when a Director movie is saved). The
default value for this property is
TRUE.
Example
This statement sets the compressed property of the texture Plutomap to TRUE.
member("scene").texture("Plutomap").compressed = TRUE
See also
texture
constrainH()
Syntax
constrainH (whichSprite, integerExpression)
Description
Function; evaluates integerExpression and then returns a value that depends on the horizontal
coordinates of the left and right edges of
whichSprite, as follows:
When the value is between the left and right coordinates, the value doesnt change.
When the value is less than the left horizontal coordinate, the value changes to the value of the
left coordinate.
When the value is greater than the right horizontal coordinate, the value changes to the value
of the right coordinate.
The
constrainH and constrainV functions constrain only one axis each; the constraint sprite
property limits both. Note that this function does not change the sprites properties.