605
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
This line outputs the size of the cast member Shrine in a field named How Big:
member("How Big").text = string(member("shrine").size)
sizeRange
Syntax
member(
whichCastmember
).modelResource
(
whichModelResource
).sizeRange.start
modelResourceObjectReference
.sizeRange.start
member(
whichCastmember
).modelResource
(
whichModelResource
).sizeRange.end
modelResourceObjectReference
.sizeRange.end
Description
3D property; when used with a model resource whose type is
#particle
, this property allows you
to get or set the
start
and
end
property of the model resource’s
sizeRange
. Particles are measured in
world units.
The size of particles in the system is interpolated linearly between
sizeRange.start
and
sizeRange.end
over the lifetime of each particle.
This property must be an integer greater than 0, and has a default value of 1.
Example
In this example, mrFount is a model resource of the type
#particle
. This statement sets the
sizeRange
properties of mrFount. The first line sets the start value to 4, and the second line sets
the end value to 1. The effect of this statement is that the particles of mrFount are size 4 when
they first appear, and gradually shrink to a size of 1 during their lifetime.
member("fountain").modelResource("mrFount").sizeRange.start = 4
member("fountain").modelResource("mrFount").sizeRange.end = 1
skew
Syntax
sprite(
whichSpriteNumber
).skew
Description
Sprite property; returns, as a float value in hundredths of a degree, the angle to which the vertical
edges of the sprite are tilted (skewed) from the vertical. Negative values indicate a skew to the left;
positive values indicate a skew to the right. Values greater than 90° flip an image vertically.
The Score can retain information for skewing an image from +21,474,836.47° to
-21,474,836.48°, allowing 59,652 full rotations in either direction.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...