Karim Beyrouti skriver:
Thanks Karl,

had seen that one, but it slightly confused me, i go this out of it which is 
kindof wrong:

private function ARGBtoRGB( argb : uint ) : uint {
        var alpha:uint = (argb>>>  24&  0xFF );
        return alpha % argb
}

My head hurts from trying to figure out what that is supposed to do.

Here is the one liner that you want:

argb & 0x00FFFFFF
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to