scrollByPage()
Usage
-- Lingo syntax
memberObjRef.scrollByPage(amount)
// JavaScript syntax
memberObjRef.scrollByPage(amount);
Description
Command; scrolls the specified field or text cast member up or down by a specified number of
pages. A page is equal to the number of lines of text visible on the screen.
Parameters
Required. Specifies the number of pages to scroll. When
amount
scrolls down. When
Example
This statement scrolls the field cast member Today's News down one page:
--Lingo syntax
member("Today's News").scrollbypage(1)
// JavaScript syntax
member("Today's News").scrollbypage(1);
This statement scrolls the field cast member Today's News up one page:
--Lingo syntax
member("Today's News").scrollbypage(-1)
// JavaScript syntax
member("Today's News").scrollbypage(-1);
See also
scrollTop
seek()
Usage
-- Lingo syntax
memberOrSpriteObjRef.seek(milliseconds)
// JavaScript syntax
memberOrSpriteObjRef.seek(milliseconds);
Description
RealMedia sprite or cast member method; changes the media stream's playback location to the
location specified by the number of milliseconds from the beginning of the stream. The
value usually becomes
mediaStatus
You can use this method to initiate play at points other than the beginning of the RealMedia
stream, or to jump forward or backward in the stream. The integer specified in
the number of milliseconds from the beginning of the stream; thus, to jump backward, you
would specify a lower number of milliseconds, not a negative number.
520
Chapter 12: Methods
is negative, the field scrolls up.
amount
#seeking
amount
and then
#buffering
is positive, the field
.
milliseconds
is
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers