Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 770 Bytes

File metadata and controls

26 lines (16 loc) · 770 Bytes

compiledClipInstance.colorBlueAmount

Availability

Adobe Animate.

Usage

compiledClipInstance.colorBlueAmount

Description

Property; an int that either reduces or increases the blue tint by a constant amount. This value is added to the current value. Valid values are -255 to 255.

This setting is the same as selecting Color > Advanced in the Instance Property Inspector.

Example

The following example illustrates use of this property:

// Change the colorBlueAmount of the first element in the first frame, top layer
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].colorBlueAmount = 100;
//change the colorBlueAmount of the selected symbol instance
fl.getDocumentDOM().selection[0].colorBlueAmount = 255;