changeColor Method
Changes the light color for any light on the page.
Syntax
object.filters.light.changeColor(iLightNumber, iRed, iGreen, iBlue, iAbsolute)
Parameters
iLightNumber Required. Integer that specifies the identifying number for the light, for use in scripting. iRed Required. Integer that specifies the red value, ranging from 0 (lowest saturation) to 255 (highest saturation). iGreen Required. Integer that specifies the green value, ranging from 0 (lowest saturation) to 255 (highest saturation). iBlue Required. Integer that specifies the blue value, ranging from 0 (lowest saturation) to 255 (highest saturation). iAbsolute Required. Integer that specifies whether the color values for iRed, iGreen, and iBlue are absolute values that replace the current values, or are relative values that are added to the current values. A nonzero value indicates the color values are absolute; a value of 0 indicates the color values are relative.
Return Value
No return value.
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus. light
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.