BOSTON – Mike Richards scored with three seconds left in overtime to give the Philadelphia Flyers a 2-1 victory over the Boston Bruins on Saturday night.

Richards picked up the puck at center ice and skated down the right side with two teammates to his left on a three-on-one. As he got to the circle, Richards decided to shoot and wristed it past Tim Thomas to end the game.

Brian Boucher stopped 35 shots for the Flyers in their first trip to Boston since coming back from a 3-0 deficit in Game 7 of last season’s Eastern Conference semifinals. James van Riemsdyk also scored for Philadelphia, which also trailed that playoff series, 3-0.

Nathan Horton scored and Thomas made 32 saves for the Bruins, who haven’t lost in regulation in six games.

It was the fifth consecutive game that Thomas has allowed two or fewer goals, a streak that has him atop the NHL in every major goaltending category. He made a big save with less than two minutes remaining in overtime, sprawling to knock away a trickling puck that was rolling across the crease after it was deflected in front by van Riemsdyk.

But with the Bruins just seconds away from a shootout, Richards ended it.

Rookie Tyler Seguin, the No. 2 overall pick in the draft, missed his first game, with the flu.

The Bruins traded Marco Sturm to the Los Angeles Kings for future considerations before the game for salary cap relief.