ZoomifyViewer.addLabel(labelXML)

Availability

Flash Player 6.

Usage

ZoomifyViewerInstance.addLabel(labelXML);

Parameters

labelXML - - XML describing the label.

Returns

Nothing

Description

Adds a label to the display list and the current view. Accepts an XML node that describes a label. Labels have an x, y, zoom, xscale, yscale, library movie clip, and url to launch when clicked.

Example


var x=0;
var y=0;
var xscale=100;
var yscale=100;
var zoom=100;
var movieClipString="MyLabel_mc";
var id=1;
var url="http://www.zoomify.com/";

var xmlText = "

See also

ZoomifyViewer.setLabelProperty/a>
ZoomifyViewer.setLabelVisibility/a>
ZoomifyViewer.getLabelVisibility/a>
ZoomifyViewer.removeLabel/a>
ZoomifyViewer.removeAllLabels