Adobe Animate 2019.
setTint(frameIndex, amount, red, green, blue)
numberinteger
numberinteger
numberinteger
numberinteger
numberinteger
Nothing.
voidSet camera tint using tint color(RGB) & tint percent (percentage of tint).
The following example sets camera tint using tint color(RGB) & tint percent (percentage of tint).
var timeline = an.getDocumentDOM().getTimeline();
timeline.camera.cameraEnabled = true;
timeline.camera.tintEnabled = true;
timeline.camera.setTint(0, 100, 255, 255, 255);