285
gradientType
Syntax
member(
whichCastMember
)
.
gradientType
Description
Vector shape cast member property; specifies the actual gradient used in the cast member’s fill.
Possible values are
#linear
or
#radial
. The
gradientType
is only valid when the
fillMode
is
set to
#gradient
.
This property can be tested and set.
Example
This handler toggles between linear and radial gradients in cast member "backdrop":
on mouseUp me
if member("backdrop").gradientType = #radial then
member("backdrop").gradientType = #linear
else
member("backdrop").gradientType = #radial
end if
end
See also
fillMode
group
Syntax
member(
whichCastmember
).group(whichGroup)
member(whichCastmember).group[
index
]
Description
3D element; a node in the 3D world that has a name, transform, parent, and children, but no
other properties.
Every 3D cast member has a default group named World that cannot be deleted. The parent
hierarchy of all models, lights, cameras, and groups that exist in the 3D world terminates in
group("world")
.
Examples
This statement shows that the fourth group of the cast member newAlien is the group Direct01:
put member("newAlien").group[4]
-- group("Direct01")
See also
newGroup
,
deleteGroup
,
child
,
parent
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...