PHILADELPHIA _ Call them Team Yo-Yo.
With their tight-checking 2-1 win Thursday night over Buffalo at the Wells Fargo Center, the Flyers are the NHL's most up-and-down team in the last 12 years.
They became the first team to register five straight wins immediately after losing 10 consecutive games since San Jose in 2005.
Val Filppula scored the game-winner as the Flyers overcame an early gift goal and went to 2-0 on a five-game homestand that continues Saturday night against Dallas.
If they sweep the last three games in the homestand _ after facing the Stars, they host Los Angeles and Detroit _ they would become the first team in NHL history to win eight in a row right after it lost 10 straight, according to the Elias Sports Bureau.
Toronto's 1966-67 team has the "record" _ seven consecutive wins following an 11-game winless streak.
Goalie Brian Elliott shook off a shaky first period and finished with 19 saves.
Elliott made a point-blank save on the ever-present Evander Kane to keep the Flyers ahead, 2-1, with 15:13 left in regulation. With 7:40 to go, he made a difficult stop on Jordan Nolan from the right circle.
Filppula flipped a shot high into the corner of the net to finish off a great passing play with linemates Jake Voracek and Michael Raffl, giving the Flyers a 2-1 lead with 2:33 to go in the second period.
From in front of the net, Filppula converted a feed from Voracek, who collected his 31st assist, tops in the NHL pending Thursday's results.
"There wasn't a lot of room out there," Filppula said after scoring his eighth goal of the season, "...so it was good to get ahead before the third."
During their winning streak, the Flyers have outscored opponents in the third period, 7-1.
Earlier, rookie Travis Sanheim's first NHL goal enabled the Flyers to tie the score at 1-1 with 15:58 left in the opening period. The 6-foot-4 defenseman whipped a left-circle one-timer past Robin Lehner after taking a goal-line pass from Dale Weise.
"It feels great," said Sanheim, 21, who came close to scoring several times in his first 27 games before Thursday. "Obviously it was a big goal in the game and I'm just excited to finally get the first one. Weiser was coming behind the net and I saw my winger kind of cheat to the wall and I had a seam down the middle."
Said Weise: "I couldn't be happier for him. He's been wanting one for a long time and I'm just happy to be a part of it."
Sanheim's goal highlighted a first period that included numerous Flyers turnovers, including two by Elliott. The goalie's first miscue led to Ryan O'Reilly's first goal in 13 games.
From behind his net, Elliott's clearing attempt was taken away by Zemgus Girgensons, who fed O'Reilly in front for a tap-in into the open net just 1:29 into the game.
A little over two minutes later, Elliott almost gave away another goal as Sam Reinhart intercepted his clearing attempt and was inches away from scoring on a wraparound. At the last instant, however, a hustling Nolan Patrick saved the goal as he blocked the puck with his left skate.
The Flyers then went down the ice and Sanheim scored the equalizer.
Elliott made a key point-blank save on Kane after he got ahead of the pack on a short-handed chance with 17:06 left in the second.
The Flyers had two good opportunities later in the second, but Lehner denied Voracek in front and Claude Giroux from the high slot to keep the game tied at 1-1.
Giroux went into the night with three straight multiple-point games.