ZoomifyViewer.setFocus(focusFlag)

Availability

Flash Player 6.

Usage

ZoomifyViewerInstance.setFocus(focusFlag);

Parameters

focusFlag - flag determining the focus for the ZoomifyViewer instance.

Returns

Nothing

Description

Sets focus on a specified ZoomifyViewer instance. When called with a true value, enables the target instance to receive key events. If a focus callback has been registered, setting focus to true will trigger the callback. Note that focus is automatically set to true by mouse interaction with the image.

Example

ZoomifyViewerInstance.setFocus(false);

See also

ZoomifyViewer.getFocus
ZoomifyViewer.setEnabled
ZoomifyViewer.getEnabled
ZoomifyViewer.registerCallback