LOS ANGELES (AP) — James Horner, who composed music for dozens of films and won two Oscars for his work on “Titanic,” died when his plane crashed in Southern California, his agents confirmed Tuesday.