User Guide

selectAtLoc() 521
If the seek command is called when mediaStatus is #paused, the stream rebuffers and returns to
#paused at the new location specified by seek. If seek is called when mediaStatus is #playing,
the stream rebuffers and automatically begins playing at the new location in the stream. If
seek is
called when
mediaStatus is #closed, nothing happens.
If you attempt to seek beyond the streams
duration value, the integer argument you specify is
clipped to the range from 0 to the duration of the stream. You cannot jump ahead into a
RealMedia sprite that is streaming live content.
The statement
x.seek(n) is the same as x.currentTime = n, and either of these calls will cause
the stream to be rebuffered.
Parameters
milliseconds
Required. An integer that specifies the number of milliseconds from the beggining
of the stream.
Example
The following examples set the current playback position of the stream to 10,000 milliseconds
(10 seconds):
-- Lingo syntax
sprite(2).seek(10000)
member("Real").seek(10000)
// JavaScript syntax
sprite(2).seek(10000);
member("Real").seek(10000);
See also
duration (RealMedia, SWA), currentTime (RealMedia), play() (RealMedia, SWA,
Windows Media), pause() (RealMedia, SWA, Windows Media), stop() (RealMedia,
SWA, Windows Media), mediaStatus (RealMedia, Windows Media)
selectAtLoc()
Usage
-- Lingo syntax
dvdObjRef.selectAtLoc(point(x, y))
// JavaScript syntax
dvdObjRef.selectAtLoc(point(x, y));
Description
DVD method; moves focus to the button under a specified point.
This method has the same functionality as a mouse hovering over a button.
Parameters
point(x, y) Required. A point in Stage coordinates that specifies the location under which a
button is given focus.