Featured Post

Xml Gallery v4

as3.0. xml driven. support add logo. support swf,jpg,gif,png files. support multiple categories. support a large number of pictures. support picture zoom in,out,rotate,resize,fullscreen etc…. $12 BUY NOW IN ACTIVEDEN.NET

Read More

RGB color channel/seprate and combine

Posted by activetofocus | Posted in Flash Technology | Posted on 18-10-2009

Tags:

0

To seprate the color channels:

  • R = 0xFC3343  >>  16
  • G = (0xFC3343 >> 8 )  &  0xFF
  • B = 0xFC3343  &  0xFF

To combine them:

  • RGB =  (0xFC <<  16) + (0×33  <<  8 )  + 0×43

Write a comment

Powered by WP Hashcash