Wouldn't it be easier to add contacts to The shutter? fully open closes the contacts, flash goes off-POOF!
Not gonna be a bright as an AG-1.
Want a circuit board from a simple P&S camera? Bare board, you would have to find something to put it in.(no insulation at all.