ZoomifyViewer.setLabelProperty(id,propertyName,propertyValue)

Availability

Flash Player 6.

Usage

ZoomifyViewerInstance.setLabelProperty(id,propertyName,propertyValue);

Parameters

id - id of the label to modify.

propertyName - name of the property to modify.

propertyValue - new value for the property.

Returns

Nothing

Description

Given a label ID and property name, changes the value of that property. Valid properties include x, y, xscale, yscale, and url. (Note: xscale and yscale values are implemented as multipliers of the current value rather than as new values to substitute for the current value.)

Example

//Changes the url to launch when this label is clicked to http://www.zoomify.com/
_root.ZoomifyViewerInstance.setLabelProperty(1,"url","http://www.zoomify.com/");

See also

ZoomifyViewer.addLabel
ZoomifyViewer.setLabelVisibility
ZoomifyViewer.getLabelVisibility
ZoomifyViewer.removeLabel
ZoomifyViewer.removeAllLabels