“The Avengers” will close the 2012 Tribeca Film Festival next month.It’s an attention-grabbing choice for a fest has always aimed to encompass programming for Gotham’s general moviegoing public as well as the more insular film community. This year’s opener, the Jason Segel-Emily Blunt topliner “The Five Year Engagement,” also targets a broad demo, and past fests have hosted the opening of studio tentpoles including “Shrek Forever.” Directed by Joss Whedon, “Avengers” marks the first movie team-up of Marvel heroes Iron Man, Thor, the Hulk and Captain America. Cast includes Robert Downey Jr., Chris Hemsworth, Mark Ruffalo, Chris Evans, Scarlett Johansson and Samuel L. Jackson. Tribeca’s addition of “The Avengers” gives a final push of publicity to the upcoming fest, which runs April 18-29. Meanwhile, the festival, well attended by New York and national media outlets, can serve as a valuable marketing opp for the big-name films that launch there. Fest also will aim to incorporate the Tribeca neighborhood community in the event, inviting local policemen, fire fighters, first responders and military types to the screening. “Avengers” bows at Tribeca April 28 just prior to Disney’s U.S. release of the pic on May 4.