A MoviePlayer is a RectControl, and therefore receives all the events and has all the methods listed in Chapter 10: Open and Close events; Visible, Enabled, and AutoDeactivate properties; Top, Left, Height, and Width properties; LockLeft, LockRight, LockTop, and LockBottom properties; MouseEnter, MouseMove, and MouseExit events; and Refresh and RefreshRect methods. For drag-and-drop, see Chapter 24.
A MoviePlayer is disabled by default, and cannot be enabled in the
IDE. The Enabled state of a MoviePlayer makes no difference to its
behavior, except for whether its BalloonHelp or DisabledBalloonHelp
text is displayed when balloon help is turned on. (On balloon help,
see Chapter 20.) On Mac OS Classic, unfortunately,
if a MoviePlayer has been assigned a Movie, the user may never see
either of these texts; instead, a generic message appears:
“Movie. To play this movie, double-click on it.” This is
probably a bug; it seems to occur primarily when the movie has a
controller, so setting the MoviePlayer’s Controller property to
0 may be a workaround of sorts.
Until a MoviePlayer is assigned a Movie, it has no visible
manifestation in the built application. Nonetheless, being a
RectControl, it has a position and dimensions, and, if its Visible
true, it receives MouseEnter,
MouseMove, and MouseExit events.
A MoviePlayer is assigned a movie by setting its Movie property to a
Movie instance. When this is done, then if the MoviePlayer’s
Visible property is
true, and if ...