16 Replies Latest reply on Oct 6, 2010 9:09 AM by kglad

    Pixel Colors in bitmapData.noise

    saratogacoach Level 1

      Hi,

       

      I am wondering if there is any way to set the pixel colors exclusively to black and white (instead of gray) in a bitmapData.noise animation. The previous related thread is: http://forums.adobe.com/message/3187558#3187558.

       

      For the function:

       

      function makeNoise():void {
                  _bitmapData.noise(getTimer(), 100, 255, 7, true);

       

      Is there any way to set the noise color pattern to black and white?

       

      In the scripting reference, it seems the choices are R||G||B||Alpha channels, so I am not sure if there is any way to combine these to get black and white only.

       

      Kind Regards,