Couple of python scripts I wrote for dumping books from a disk where each page is an SWF to a nice PDF
Once dumped I reccomend collating to a PDF using imagemagick
sometimes prelim will use roman numerals if so change the image file names to standard numbers before ordering
I used this for edexcel text books