Getzlaf's third goal of the season came amid a crowded scramble in front. Flyers goalie Sergei Bobrovsky appeared to have covered the puck, but officials said it went over the line. The goal was confirmed by video replay.
Lubomir Visnovsky and Jason Blake also scored for Anaheim, which had scored only three goals in four road games. Visnovsky made it 1-0 just 35 seconds into the game when he flipped a wrist shot over Bobrovsky's right shoulder.
Scott Hartnell tied it nearly three minutes later, guiding a puck through traffic as he was falling. Claude Giroux also scored a tying goal for the Flyers in the second period.
Anaheim grabbed a 2-1 lead at 10:52 of the first when Teemu Selanne centered a pass from behind the net to Blake, who beat Bobrovsky.
Giroux made it 2-2 when he streaked down the left side and knocked a rebound of his shot past goalie Curtis McElhinney. The Flyers, four games into a five-game homestand, have lost three in a row. They recorded a season-high 42 shots and outshot the Ducks by 20.
Notes: With an assist, Selanne earned his 1,267th point, moving into a tie with Hall-of-Famer Jean Ratelle for 34th place on the NHL career list. ... This was the first matchup between these teams in more than a year. Anaheim won 3-2 in Philadelphia on a shootout goal. ... The Flyers wore "Hockey Fights Cancer" decals on their helmet, in conjuction with the NHL's night to raise money for the cause.