User Guide
endFrame 755
Example
For this example, assume that the cast member named MyMember contains a model that uses the
model resource named Sphere4, whose
endAngle value is 310, leaving an opening of 50°. The
handler
closeSphere closes that opening in a way that makes it look like it is sliding shut. The
repeat loop changes the
endAngle value of the sphere 1° at a time. The updateStage command
in the repeat loop forces the Stage to redraw after every 1° increment.
on closeSphere
MyAngle = member("MyMember").modelresource("Sphere4").endAngle
repeat with r = 1 to 50
MyAngle = MyAngle + 1
member("MyMember").modelresource("Sphere4").endAngle = MyAngle
updateStage
end repeat
end
See also
state (3D)
endColor
Usage
-- Lingo syntax
memberObjRef.endColor
// JavaScript syntax
memberObjRef.endColor;
Description
Vector shape cast member property; the ending color of a gradient shape’s fill specified as an
RGB value.
endColor is only valid when the fillMode is set to #gradient, and the starting color is set
with
fillColor.
This property can be tested and set.
To see an example of
endColor used in a completed movie, see the Vector Shapes movie in the
Learning/Lingo Examples folder inside the Director application folder.
See also
color(), fillColor, fillMode
endFrame
Usage
-- Lingo syntax
spriteObjRef.endFrame
// JavaScript syntax
spriteObjRef.endFrame;
Description
Sprite property; returns the frame number of the end frame of the sprite span. Read-only.