Concat (Colortransform.concat Method) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

greenOffset:Number
The default value is 0.
blueOffset:Number
The default value is 0.
alphaOffset:Number
255). The default value is 0.
Example
The following example creates a ColorTransform object called
var greenTransform:flash.geom.ColorTransform = new
flash.geom.ColorTransform(0.5, 1.0, 0.5, 0.5, 10, 10, 10, 0);
The following example creates the ColorTransfrom object
constructor values. The fact that
evidence that the default constructor values are used.
import flash.geom.ColorTransform;
var colorTrans_1:ColorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0,
0);
trace(colorTrans_1);
//(redMultiplier=1, greenMultiplier=1, blueMultiplier=1, alphaMultiplier=1,
redOffset=0, greenOffset=0, blueOffset=0, alphaOffset=0)
var colorTrans_2:ColorTransform = new ColorTransform();
trace(colorTrans_2);
//(redMultiplier=1, greenMultiplier=1, blueMultiplier=1, alphaMultiplier=1,
redOffset=0, greenOffset=0, blueOffset=0, alphaOffset=0)

concat (ColorTransform.concat method)

public concat(second:ColorTransform) : Void
Applies a second, additive color transformation to the movie clip. The second set of
transformation parameters is applied to the colors of the movie clip after the first
transformation has been completed.
Availability: ActionScript 1.0; Flash Player 8
Parameters
second:flash.geom.ColorTransform
with the current ColorTransform object.
[optional] - The offset for the green color channel value (-255 to 255).
[optional] - The offset for the blue color channel value (-255 to 255).
[optional] - The offset for alpha transparency channel value (-255 to
colorTrans_1
- A second ColorTransform object to be combined
greenTransform
colorTrans_1
and
colorTrans_2
ColorTransform (flash.geom.ColorTransform)
:
with the default
trace the same values is
435

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF