Where is the flaw in this hypothetical concept of escaping event horizon using another's blackhole flyby? imagine two black holes approaching each other in a way that they will perform just very close flyby. You have a spaceship just below the event horizon of one black hole in line between centers of both black holes all the time.
When the black holes are closest to each other you should find yourself outside of the event horizon for a moment as the influence of one black hole should cancel out some part of the influence of the another black hole ( in similar fashion as the influences cancel out in the exact middle of a planet ); therefore, enabling you to escape. However, current physics says that nothing can leave the event horizon. Where is the flaw in this scenario?
In short, it doesn't work.

the event horizon is defined as the region of space which you can't escape from, If you are between two black holes, and you can escape then by definition you are not inside the event horizon. In the case when there are two black holes, the black hole is not a Schwazchild black hole (which is a solution of Einstein's equations for a single point, uncharged non-spinning mass) and the event horizon is not spherical. To determine the shape of the event horizon for two masses you need to use numerical solutions of the equations, you can do this yourself with the Einstein Toolkit, but the computing requirements are very high. A supercomputer is required to get very far.

In the exact situation you draw, it is likely that the release of graviational radiation would lead to a merger rather than a pass but you would need to run the simulation to confirm this. 

Now you can't just remain stationary inside the event horizon. If you started inside it you can't stay in the same place and wait for a the pass of the other black hole to pull you out. Inside the event horizon spacetime is flowing towards the singularity and even if the shape of the event horizon is changed by the passing of another black hole, nothing passes from inside to out.