User Guide
stageLeft 547
stageBottom
Usage
the stageBottom
Description
Function; along with stageLeft, stageRight, and stageTop, indicates where the Stage is
positioned on the desktop. It returns the bottom vertical coordinate of the Stage relative to the
upper left corner of the main screen. The height of the Stage in pixels is determined by
the
stageBottom - the stageTop
.
When the movie plays back as an applet, the
stageBottom property is the height of the applet
in pixels.
This function can be tested but not set.
Parameters
None.
Example
These statements position sprite 3 a distance of 50 pixels from the bottom edge of the Stage:
stageHeight = the stageBottom - the stageTop
sprite(3).locV = stageHeight - 50
Sprite coordinates are expressed relative to the upper left corner of the Stage. For more
information, see the Using Director topics in the Director Help Panel.
See also
stageLeft, stageRight, stageTop, locH, locV
stageLeft
Usage
the stageLeft
Description
Function; along with stageRight, stageTop, and stageBottom, indicates where the Stage is
positioned on the desktop. It returns the left horizontal coordinate of the Stage relative to the
upper left corner of the main screen. When the Stage is flush with the left side of the main screen,
this coordinate is 0.
When the movie plays back as an applet, the
stageLeft property is 0, which is the location of the
left side of the applet.
This property can be tested but not set.
Sprite coordinates are expressed relative to the upper left corner of the Stage.
Parameters
None.