Red-carpet attire is being encouraged for film buffs attending an Oscars party at the Coolidge Corner branch library Tuesday from 6 to 8:30 p.m. Guests will be quizzed on movie trivia, and served treats and drinks at the 21-and-older event. The party is being hosted by the Public Library of Brookline and its nonprofit support organization, the Brookline Library Foundation. Tickets are available online through the library’s website, www.brooklinelibrary.org, and are $5 in advance, or $10 at the door. The branch library is located at 31 Pleasant St. The 85th annual Academy Awards ceremony will be held Feb. 24.