To isolate the color channels and alpha channel from a 32-bit color we use shifting and bitwise AND operator.
var colorValue:uint = 0xFFFFCC99;
// Isolate Alpha channel
var alpha:uint = ( colorValue << 24 ) & 0xFF;
// Isolate Red channel
var red:uint = ( colorValue << 16 ) & 0xFF;
// Isolate Green channel
var green:uint = ( colorValue << 8 [...]