Page turning effect problems


I was looking for a code that does a turning page effect and have found one, but am experiencing a problem. The code is giving me a problem when i add more pages to the existing file. I am really hoping that someone can help me out with this as it is really urgent.


I have attached the original file. I need to add a total of 16 pages. Can someone pls see the file and explain to me how this is done. The pages are all generated with the help of action script. I get an error something to do with the ‘with statement’. If someone can solve this problem could you please explain where I have to make the changes and what the resulting code would do. Thanks a mil.