Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 623 Bytes

File metadata and controls

33 lines (17 loc) · 623 Bytes

document.getIndexForTaggedSwatchesPalette()

Availability

Animate 2020.

Usage

document.getIndexForTaggedSwatchesPalette(paletteName:string).

Parameters

paletteName:It is a string that indicates tagged swatch palette name.

Returns

An integer that specifies the index of the palette.

Description

Method;To get the Tagged Swatches palette index for given palette name.

Example

The following example returns the index of tagged swatch palette "palette1".

var document = fl.getDocumentDOM();
fl.trace(document.getIndexForTaggedSwatchesPalette("palette 1"));