Frederic made it 2-1 with a power-play goal at 5:26 of the second period. It was his first goal in 10 games.
"When the team does well, I feel like it's good for individuals," Frederic said. "We've been playing well, we've been winning. So, anytime that happens I feel like, as an individual, you feel good about yourself too."
York put the Flyers ahead 3-1 at 15:29 with a shot from the high slot.
"We're a good team and we expect to win every game," York said. "So, to lose that one, obviously it hurts. But we've got an opportunity to come back tomorrow [at home against the Utah Hockey Club] and hopefully come out on top."
Joel Farabee nearly scored on a breakaway at 2:03 of overtime, but Swayman made the stop to keep Boston alive ahead of Zacha's winner.
"That’s huge. That's a massive save," Bruins defenseman Charlie McAvoy said. "That, and coupled with a special play right after that, you know, that gets us two points. That was awesome."
NOTES: Travis Konecny, who leads Philadelphia with 31 points (13 goals, 18 assists) in 27 games, had an assist but the forward missed the final 13:55 of the third and did not have a shift in overtime. Tortorella said Konecny was pulled from the game by a concussion spotter. Konecny was cleared to return, but Tortorella kept him out for what the coach called undisciplined play. … Michkov is the third Flyers teenager with three straight multipoint games, joining Eric Lindros (three games, 1992-93) and Peter Zezel (twice, 1984-85). ... Marchand’s goal marked the 15th time he scored a tying goal in the final 10 minutes of the third. He tied Ray Bourque (15) for the most goals in Bruins history under the same scenario. ... Sanheim's assist on York's goal was his 200th NHL point.