Rasmus Ristolainen and Bobby Brink scored, and Samuel Ersson made 29 saves for the Flyers (19-12-5), who have lost four of five and had a nine-game road point streak (6-0-3) end.
"These last two efforts haven't been our best” Philadelphia forward Sean Couturier said. “So, it's important to get on the right track and start coming back to checking the right way and doing a lot of the little things we've been doing all year. Go back to basics and trusting in our system and the way we play. Go back to our identity, I guess."
Ristolainen gave the Flyers a 1-0 lead at 9:44 of the first period when he scored off a cross-ice pass just above the edge of the crease from Ryan Poehling.
"Just tried to get up there when you see the chance and join the rush, and Poehling made a great play," Ristolainen said.
Backlund tied it 1-1 at 18:21 of the second period after his one-timer from the slot deflected in off Ersson's glove.
Gilbert put the Flames ahead 2-1 at 7:29 of the third period, taking a cross-ice pass from Huberdeau and scoring short-side. The assist was Huberdeau's first point in 13 games dating back to Nov. 30.
"Feels good, has been a while," Huberdeau said. "I think it's more about the whole game, creating stuff. I know it's going to come in. It's not like you get a point and you get to relax. Every game has to be like that, creating stuff. I'm an offensive guy here and I have to create plays every time I'm on the ice."