moveLight Method

DHTML, HTML, & CSS

moveLight Method


Moves the light effect on the page.

Syntax

object.filters.light.moveLight(iLightNumber, iX, iY, iZ, bAbsolute)

Parameters

iLightNumberRequired. Integer that specifies the identifying number for the light, for use in scripting.
iXRequired. Integer that specifies the left coordinate of the light source.
iYRequired. Integer that specifies the top coordinate of the light source.
iZRequired. Integer that specifies the z-axis level of the light source.
bAbsoluteRequired. Boolean that specifies whether the move is absolute or relative.

Return Value

No return value.

Remarks

For cone lights, this method changes the target x,y values to move the light's focus. For point lights, this method changes the source x,y,z values to move the source location. This method has no effect on ambient lights.

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.