In the movie, Affleck is searching for his missing wife even as people around him suspect that he may have a role in her disappearance.
'The Social Network' director said a quick Google search helped him zero in on the 'Argo' actor-director, reported Playboy magazine.
"You cast movies based on critical scenes. In Gone Girl there's a smile the guy has to give when the local press asks him to stand next to a poster of his missing wife. I flipped through Google Images and found about 50 shots of Affleck giving that kind of smile in public situations.
Based on Gillian Flynn's 2012 novel of the same name, the story is about Nick Dunne, an out-of-job journalist whose wife Amy disappears on their fifth wedding anniversary.
