I've also used the MathJong and Word Mahjong code bases and created a standard mahjong game that I've put on my new website Mahjong For Free. I created a core .swc that contained all of the game specific code, then I'm able to create layout and skin files that allow me to easily create new layouts and skins for each game.
I've recently upgraded to Flash CS5.5 and I'm soon going to try and put the game on to my Motorola Xoom tablet. Hopefully it will just work, but I don't yet have any experience with porting flash games to the Android or iPhone platforms, and I've heard performance is an issue.