User Guide

623
Examples
This statement sets the variable oldColor to the index number of the current Stage color:
Related Lingo:
oldColor = the stageColor
This statement sets the Stage color to the color assigned to chip 249 on the current palette:
Related function:
the stageColor = 249
See also
backColor, bgColor, foreColor, color()
stageLeft
Syntax
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.
Example
This statement checks whether the left edge of the Stage is beyond the left edge of the screen and
calls the handler
leftMonitorProcedure if it is:
if the stageLeft < 0 then leftMonitorProcedure
See also
stageBottom, stageRight, stageTop, locH, locV
stageRight
Syntax
the stageRight
Description
Function; along with stageLeft, stageTop, and stageBottom, indicates where the Stage is positioned
on the desktop. It returns the right horizontal coordinate of the Stage relative to the upper left
corner of the main screens desktop. The width of the Stage in pixels is determined by
the
stageRight -
the stageLeft.
When the movie plays back as an applet, the
stageRight property is the width of the applet
in pixels.
This function can be tested but not set.