setVideoScroll
|
![]() ![]() ![]() |
|
|
X, Y
|
|
Positive integers specifying the pixel coordinates of the top left origin of the viewable area of the Video window.
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
This set of statements gradually scrolls the Video window in its frame:
|
|
showVideo(TRUE)
|
setVideoZoom(2)
|
For x=0 to 300
|
setVideoScroll(x,0)
|
Next
|
For y=0 to 200
|
setVideoScroll(x,y)
|
Next
|
For z=200 to 0
|
setVideoScroll(z,z)
|
Next
|
|
|
If the specified coordinates exceed the allowable values for the view origin they will be automatically readjusted to the maximum allowable values.
|