-- Lingo syntaxwindowObjRef.bgColor // JavaScript syntaxwindowObjRef.bgColor;
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.
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);