EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 825

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
lastError 825
lastClick
Usage
-- Lingo syntax
_player.lastClick
// JavaScript syntax
_player.lastClick;
Description
Player property; returns the time in ticks (1 tick = 1/60 of a second) since the mouse button was
last pressed. Read-only.
Example
This statement checks whether 10 seconds have passed since the last mouse click and, if so, sends
the playhead to the marker No Click:
-- Lingo syntax
if (_player.lastClick > (10 * 60)) then
_movie.go("No Click")
end if
// JavaScript syntax
if (_player.lastClick > (10 * 60)) {
_movie.go("No Click");
}
See also
lastEvent, lastKey, lastRoll, Player
lastError
Usage
-- Lingo syntax
memberOrSpriteObjRef.lastError
// JavaScript syntax
memberOrSpriteObjRef.lastError;
Description
RealMedia sprite or cast member property; allows you to get the last error symbol returned by
RealPlayer as a Lingo symbol. The error symbols returned by RealPlayer are strings of simple
English and provide a starting point for the troubleshooting process. This property is dynamic
during playback and can be tested but not set.
The value
#PNR_OK indicates that everything is functioning properly.