![]() ![]() | |
Flash Player 6.
ZoomifyViewerInstance.zoomToView(x,y,zoom,duration,intervalRate,callback,callbackData);
x - new x of the image.
y - new y of the image.
zoom - new zoom of the image.
duration - period of transition in milliseconds.
interval rate - frequency of steps in milliseconds.
callback - method to call on completion.
callback data - optional parameter for callback.
Nothing
Implements continuous zoom and pan as necessary to traverse the image from the current view x, y, and zoom coordinates to the specified view coordinates. The values x and y will be between -1 (left edge of image) and 1 (right edge of image). The zoom value is used to specify the magnification of the image where 100 means 100% magnification. 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. The duration is specified in milliseconds and is the total period of the zoom. The intervalRate is the pace at which the view should be updated and is also expressed in milliseconds. Callback is a string specifying a userdefined method to call on arrival at the specified view and callback data is a value to pass to that method.
ZoomifyViewerInstance.zoomToView(0.04,0.11,200,5000,10,"");
ZoomifyViewer.stopZoomToView
ZoomifyViewer.setView
ZoomifyViewer.resetView
ZoomifyViewer.setX
ZoomifyViewer.setY
ZoomifyViewer.setZoom
ZoomifyViewer.setMinZoom
ZoomifyViewer.setMaxZoom
ZoomifyViewer.zoomIn
ZoomifyViewer.zoomOut
ZoomifyViewer.panLeft
ZoomifyViewer.panRight
ZoomifyViewer.panUp
ZoomifyViewer.panDown
ZoomifyViewer.panStop
![]() ![]() | |