Okay folks, my stupidity. I was using bi-color LEDs, and they were CAs; that made things a bit confusing. Its working the way its supposed to now.

Anand