ColorTransform concat is reversed from it's documenation

I attempted to make a PR fixing this, only to realize that flash/air does it backwards, too.


Concatenates the ColorTranform object specified by the second parameter with the current ColorTransform object and sets the current object as the result, which is an additive combination of the two color transformations. When you apply the concatenated ColorTransform object, the effect is the same as applying the second color transformation after the original color transformation.

but the resulting effect is the same as applying the original color transform after the second.
For example, the following transform will make any image show up as pure white, regardless of the image’s actual colors.

transform.concat(new ColorTransform(0, 0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF));

Therefore, I assume that concatenating this color transform to ANY color transform will completely override the existing values and replace them with second values. this is not the case, as seen below:

var a = new ColorTransform(0.5, 0.5, 0.5, 1, 0x80, 0, 0x40, 0);
var b = new ColorTransform(0, 0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF);
//   mult: r:     0.0, g:     0.0, b:    0.0, a:      0.0
// offset: r: 255.5, g: 127.5, b: 191.5, a: 255.0

the result matches what I expect b.concat(a) to be.

Is my interpretation of the doc wrong, or is the doc wrong?