Ben Affleck to play Batman in ‘The Flash’ movie