Updated

Mike Ribeiro scored twice and the Dallas Stars helped their playoff hopes with a 4-3 victory over the Anaheim Ducks on Sunday night.

Stars captain Brenden Morrow had a goal and two assists, and Jeff Woywitka added a goal and an assist for the Stars, who snapped a six-game losing streak.

Corey Perry scored his NHL-leading 47th goal, and Ryan Getzlaf and Lubomir Visnovsky both added a goal for Anaheim, which would have clinched a playoff spot with a regulation win.

Ribeiro gave Dallas a 4-2 lead at 15:04 of the second period. The Ducks had a pair of potential tying goals taken away in the final 2:04 of the third on an interference call and a hand pass violation.

The Stars had dropped eight of nine to tumble out of the top eight in the Western Conference, but remain in the playoff hunt. The win gives Dallas 89 points, three shy of No. 8 Chicago, with Calgary in between. The Stars and Blackhawks each have two games in hand over the Flames.

The Ducks thought they had forced overtime on Teemu Selanne's redirection, but the goal was negated because of interference by Saku Koivu. Bobby Ryan's goal with 1:47 to go was disallowed because of Perry's illegal assist.

The Stars fell behind 1-0 in the first period before scoring four of the next five goals. Morrow put Dallas ahead 3-2 with his team-leading 29th goal at 7:20 of the second when Jamie Langenbrunner fed him for a one-timer that beat goalie Ray Emery.

Ribeiro scored his second of the night on the power play at 15:04 of the second, deflecting in the puck from close range 23 seconds after Ducks defenseman Toni Lydman was called for high-sticking.

The Ducks were again down a man later in the period, but Perry scored a short-handed goal to cut Anaheim's deficit to 4-3.

Anaheim had been one of the NHL's hottest teams lately, but the Ducks lost for the straight night. Anaheim squandered a two-goal lead on Saturday and lost 4-2 to San Jose.

Getzlaf opened the scoring 12:33 in Sunday after a turnover by the Stars in their end. Perry centered the puck to Ryan, who backhanded it to Getzlaf.

Woywitka tied it at 10:13, and Ribeiro scored from the doorstep after the Ducks failed to clear the puck with 2:53 left in the period.

Visnovsky tied it 2-2 moments later following a scramble in front. A bad clear by defenseman Alex Goligoski led to Visnovsky's goal from a tight angle.

NOTES: Dallas had lost four straight at Anaheim. ... Visnovsky's 18 goals are a club record for defensemen. ... Emery was nominated by the Professional Hockey Writers Association for the Bill Masterton Memorial Trophy, given annually to the NHL player who exemplifies perseverance, sportsmanship and dedication to the sport.