FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
Related topics
Great php editor
[TUTOR] A Short Intro to GD
Problam about google ad code
Windows Tips&tricks!
What do most of you do when you are online?
can delete public_html?
Mambo Content Problem
How To : Secure Your PHP Website
(official) Firefox & Thunderbird 1.5 Beta2 Now Available
targeting <div> tags with links
image php sripting that made a image refreshed every loaded
What is AJAX?
Checking if input fields actually have input?
Save as .html or .php
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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