Not a flashlight but it is related and I thought it was neat-o; a modified battery powered "puck" light for a cooler, which automatically turns on/off when the lid is opened/closed like a conventional home refrigerator ;
http://www.instructables.com/id/Have-your-camping-cooler-light-up-like-your-fridge/