03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Modifiers Signature Description<br />

302 <strong>ActionScript</strong> classes<br />

merge(sourceBitmap:B<br />

itmapData,<br />

sourceRect:Rectangle<br />

, destPoint:Point,<br />

redMult:Number,<br />

greenMult:Number,<br />

blueMult:Number,<br />

alphaMult:Number) :<br />

Void<br />

Performs per-channel blending from a source image to<br />

a destination image.<br />

noise(r<strong>and</strong>omSeed:Num Fills an image with pixels representing r<strong>and</strong>om noise.<br />

ber, [low:Number],<br />

[high:Number],<br />

[channelOptions:Numb<br />

er],<br />

[grayScale:Boolean])<br />

: Void<br />

paletteMap(sourceBit<br />

map:BitmapData,<br />

sourceRect:Rectangle<br />

, destPoint:Point,<br />

[redArray:Array],<br />

[greenArray:Array],<br />

[blueArray:Array],<br />

[alphaArray:Array])<br />

: Void<br />

Remaps the color channel values in an image that has<br />

up to four arrays of color palette data, one for each<br />

channel.<br />

perlinNoise(baseX:Nu Generates a Perlin noise image.<br />

mber, baseY:Number,<br />

numOctaves:Number,<br />

r<strong>and</strong>omSeed:Number,<br />

stitch:Boolean,<br />

fractalNoise:Boolean<br />

,<br />

[channelOptions:Numb<br />

er],<br />

[grayScale:Boolean],<br />

[offsets:Object]) :<br />

Void

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!