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.

Example

This handler would be located in a movie script of a MIAW. It places the user's name and the serial number into a display field when the window is opened:

-- Lingo syntax
on prepareMovie
   displayString = _player.userName & RETURN & _player.organizationName \
& RETURN & _player.serialNumber member("User Info").text = displayString end // JavaScript syntax function prepareMovie() { var displayString = _player.userName + "\n" + _player.organizationName
+ "\n" + _player.serialNumber; member("User Info").text = displayString; }

See also

Player