ADDED a property for setting the flash mode

Hello,

I've added some code for flash mode support and I want to share it back.

Thanks,

Norlan