Nehru,
You need to check your spelling as Flex is 100% case sensitive. Also did you add your new widget to your project modules list? I was able to copy and paste your code into a flex project and add it to the modules list and see it right off, so you are just missing something simple.