changeColor Method

MS Office DHTML, HTML & CSS

changeColor Method


Changes the light color for any light on the page.

Syntax

object.filters.light.changeColor(iLightNumber, iRed, iGreen, iBlue, iAbsolute)

Parameters

iLightNumberRequired. Integer that specifies the identifying number for the light, for use in scripting.
iRedRequired. Integer that specifies the red value, ranging from 0 (lowest saturation) to 255 (highest saturation).
iGreenRequired. Integer that specifies the green value, ranging from 0 (lowest saturation) to 255 (highest saturation).
iBlueRequired. Integer that specifies the blue value, ranging from 0 (lowest saturation) to 255 (highest saturation).
iAbsoluteRequired. 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 ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.
light

Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.