ZoomifyViewer.setY(y)

Availability

Flash Player 6.

Usage

ZoomifyViewerInstance.setY(y);

Parameters

y - new y of the image.

Returns

Nothing

Description

Sets the y value of the current view. The values x and y will be between -1 (left edge of image) and 1 (right edge of image). This representation is 'resolution independent.' These values can be obtained for any view by calling getX and getY, or by using the Initial View fields in the ZoomifyViewer Component Inspector. Calls to setX should be followed by a call to updateView in order to cause the ZoomifyViewer component to draw the new view.

Example


ZoomifyViewerInstance.setY(0);
ZoomifyViewerInstance.updateView();

See also

ZoomifyViewer.setMinZoom
ZoomifyViewer.setMaxZoom
ZoomifyViewer.updateView
ZoomifyViewer.setView
ZoomifyViewer.setX
ZoomifyViewer.setZoom
ZoomifyViewer.getZoom
ZoomifyViewer.resetView
ZoomifyViewer.zoomIn
ZoomifyViewer.zoomOut
ZoomifyViewer.panLeft
ZoomifyViewer.panRight
ZoomifyViewer.panUp
ZoomifyViewer.panDown
ZoomifyViewer.panStop