skip to main | skip to sidebar

I Didn't Know This Yesterday

Things that I didn't know until today. Generally of a work-related technical nature.

Monday, 7 July 2008

BitmapData.copyChannel

In the flash.display.bitmapData class the channels are numbered as follows:

1 (red)
2 (green)
4 (blue)
8 (alpha)

This is important to know when using the copyChannel method.
Posted by LJ at 15:43

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2010 (4)
    • ►  July 2010 (1)
    • ►  April 2010 (1)
    • ►  March 2010 (1)
    • ►  January 2010 (1)
  • ►  2009 (4)
    • ►  November 2009 (1)
    • ►  September 2009 (1)
    • ►  May 2009 (1)
    • ►  January 2009 (1)
  • ▼  2008 (44)
    • ►  December 2008 (3)
    • ►  October 2008 (2)
    • ►  September 2008 (5)
    • ►  August 2008 (6)
    • ▼  July 2008 (12)
      • To create a continuous pipe to stream a real-time ...
      • To pipe data into ffplay over a network
      • Compiling against libavcodec
      • Blender real-time engine
      • stdout over IP
      • mkfifo
      • Streaming raw image data into Flash
      • BitmapData.copyChannel
      • Improving Z depth rendering in Away3D
      • Mapping flv video to geometry in Actionscript
      • Correcting texture distortion in Away3D
      • Javascript
    • ►  June 2008 (16)