MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 825

Director scripting reference
Table of Contents

Advertisement

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,
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
Player
indicates that everything is functioning properly.
lastError
825

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents