Adam Silver, the NBA's commissioner-in-waiting, Thursday confirmed talks with the Knicks and Nets for a weeklong "basketball festival'' that will place events at Madison Square Garden and the Barclays Center in conjunction with the 2015 All-Star Game.

During a session with Associated Press sports editors at the league's Manhattan headquarters presided over by commissioner David Stern, Silver said "several cities" have submitted bids for multiple years, including 2015, to stage the All-Star Game. Silver said those cities "are aware we're trying to work something out with the Knicks and Nets," and that New York's teams are "ahead" in the competition.

The festival could place the slam-dunk contest in one arena and the All-Star Game in the other, and "some other events as well," Silver said.

A decision on the 2015 game site will be made this summer, said Silver, the league's deputy commissioner and chief executive, whom Stern has endorsed to assume the top job when he retires next February.

Subscribe to Newsday’s sports newsletter for stories, photos and videos about your favorite New York teams plus national sports news and events.