Here's a program I made with PB about a year or so ago. Sync mouth animations with audio for flash. It's now freeware and source code is available. Couple guys from the KoolMoves forum have been working on sound positioning for accurate timing, so this might get updated. I don't have the time for this project anymore, hence the reason making it freeware. Cheers and have fun with it.
One more thing... make sure the image folder is next to the source file when compiling.
DOWNLOAD