Preloading dynamic data from a database

Hi,

I am trying to have a preloader come up and go through a loading process when I am waiting for data to return from the database.

Does anyone know how to do this or knows of any tutorials that I can look at?

thanks

Create a function that checks to see if all the data is loaded. Then, once it all is loaded have the function do something useful…like showing the data.