loading files and assets while playing the game online

I made game so any one can play it online, or offline using a local network.
the question is how can I make a load slider or indicator that shows the percentage of the loaded files, so the user can know how much time and bytes remains.

Docs are your friend!

For this to be worthwhile, you’ll need to build your app as a streamed web player.

yes Docs I hope so!