Authorities say the gunman, who killed himself as police entered the theater, had a criminal record but no known motive for the shooting.