FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Checking if content has loaded?

 


Diablosblizz
Hey, I am trying to build a flash game website. It works, but it takes a minute for the flash game to download from another host.

My question is:

Is it possible to check if the file is downloaded, and if the game is not downloaded it will display a:

"Downloading game, please wait . . ."

message until the game has been downloaded?

I hope you understand,
Thanks.
Agent ME
PHP is server-side only. You can't check if the client has downloaded something through it.

You want to look at javascript or a flash pre-loader.
Diablosblizz
Yes I was thinking that Javascript would have been brought up here. Anybody know how to do this in Javascript? I can't do it because I don't know Javascript. >.<
vinx_18
You may also use a preloader on flash... here are great examples of preloaders.. http://www.webwasp.co.uk/tutorials/preloaders/index.php
Diablosblizz
Am I able to make a pre-loader on Flash, WITHOUT putting the Pre-loader onto the flash game. The flash games ARE NOT mine, but I have permission to put them on my web.
manav
i had a same scenario and http://www.webwasp.co.uk/tutorials/preloaders/index.php helped me a lot.....

thanks for posting it..... Very Happy Smile
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.