Sylvester Stallone was a struggling actor when he was inspired by a real boxing match to write the film that became a legend.