Draw a poly plane in the form of the flash (like in comics), and orient constrain it to the camera so its always looking towards the camera. Give it a bright material, with maybe a bit of transparency on the edges (in that case make a bitmap texture), and make it appear for 1-2 frames when the gun fires. For the sparks I don't know, try with hardware rendered streak particles. I so hate HW rendering and compositing. 