bgColor (Window)

Usage

-- Lingo syntax
windowObjRef.bgColor

// JavaScript syntax
windowObjRef.bgColor;

Description

Window property; determines the background color of a window. Read/write.

Setting the bgColor property is equivalent to setting the color in the Movie Properties dialog box.

Example

This example sets the color of the window named Animals to an RGB value.

-- Lingo syntax
window("Animals").bgColor = color(255, 153, 0)

// JavaScript syntax
window("Animals").bgColor = color(255, 153, 0);

See also

Window