organizationName

Usage

-- Lingo syntax
_player.organizationName

// JavaScript syntax
_player.organizationName;

Description

Player property; contains the company name entered during installation of Director. Read-only.

This property is available in the authoring environment only. It can be used in a movie in a window tool that is personalized to show the user's information.

Example

The following handler would be located in a movie script of a movie in a window (MIAW). It places the user's name and 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