Calgary ended a two-game skid and handed the Pacific Division-leading Stars their first loss in six outings. Dallas also had a team-record, eight-game road winning streak snapped.
Raycroft faced only 19 shots, but seven of them got past him in what was easily his worst outing of the season. He came into the contest with an 8-3 record and a 2.05 goals-against average. Raycroft's save percentage of .934 had been the second best in the NHL.
Moss scored one of three straight Calgary goals in the second period that put the Flames in front 5-2.
Dallas rallied to get within 5-4 early in the third, but Jarome Iginla and Moss both scored in that stanza to clinch the victory. Iginla's goal was his 20th of the season.
Henrik Karlsson picked up the win despite giving up four goals on 21 shots.
Notable deaths of 2014 [PHOTOS]
Michael Sam cut from the Dallas Cowboys