User Guide

serialNumber 985
selStart
Usage
-- Lingo syntax
selStart
// JavaScript syntax
selStart;
Description
Cast member property; specifies the starting character of a selection. It is used with selEnd to
identify a selection in the current editable field, counting from the beginning character.
This property can be tested and set. The default value is 0.
Example
These statements select “cde” from the field “abcdefg”:
-- Lingo syntax
selStart = 3
selEnd = 5
// JavaScript syntax
selStart = 2;
selEnd = 4;
This statement makes a selection 20 characters long:
-- Lingo syntax
selEnd = selStart + 20
// JavaScript syntax
selEnd = selStart + 20;
See also
selection() (function), selEnd, text
serialNumber
Usage
-- Lingo syntax
_player.serialNumber
// JavaScript syntax
_player.serialNumber;
Description
Movie property; a string containing the serial number entered when Director was installed.
Read-only.
This property is available in the authoring environment only. It could be used in a movie in a
window (MIAW) tool that is personalized to show the user’s information.