I want to turn off the flash and leave it off.
..
set_prop 16 2
The A495 is a propset 3 camera, so the correct way to do this is
set_prop 143 2
Also, the "flash" key is not defined for the a495 (in platform/a495/kbd.c) so doing a
click "flash"
will do nothing.
However,
click "right"
click "right"
click "set"
should work.
Note: if the propset doesn't work (I can't test as I don't have your camera) you could get fancy and loop doing the right clicks until get_prop 143 is the value you want.