Let's not confuse things.
Flash is suitable or used for animations and multimedia content. We are talking about databases and books here.
We could use flash but some sort of database engine or SQL needs to be integrated as well, or any way to read user's database, grab the info, and download if needed. Here's were HTML5 and Web SQL comes into scene. However, iPad or Safari does not support Flash anyway.