Windows Media Player 11 SDK AmbientAttributes.moveTo
Previous | Next |
AmbientAttributes.moveTo
The moveTo method moves the control to a new location at a linear speed.
Syntax
Parameters
newLeft
Number (long) specifying the new value for the left attribute of the control.
newTop
Number (long) specifying the new value for the top attribute of the control.
time
Number (long) specifying the time, in milliseconds, that it takes for the control to move to its new location.
Return Values
This method does not return a value.
Remarks
This method is useful for animated SUBVIEW elements (for example, if the user clicks a tray and the controls slide down).
This method creates a linear motion when moving the control. This differs from slideTo, which creates a non-linear motion.
Requirements
Windows Media Player version 7.0 or later.
See Also
Previous | Next |