View Full Version : Preloader - Progress Load Bar .. how?

02-28-2009, 10:08 AM

I have a site which use .swf files.
And there is a problem.Sometimes these swf take time to load and people think that it's broken.
So what i think is to put a preload progress bar which show how much(percentage %) the swf has loaded.
I have seen something similar at some flash games sites,which shows how much % the game has loaded.one example is for this game (http://www.agame.com/game/skate-park.html) eg.

Could anyone help me how to do it?
(or a link to a tutorial if already exists)

Thanks in advance.

02-28-2009, 02:05 PM
on that site they use a defined time to allow the swf to load

view the source code

var preloader_time = '15000';

02-28-2009, 05:46 PM
In fact i have seen it from another 2-3 sites. When i saw their source code, i saw that inside a .js they use ,it says agame.com.
So it seems that they got it from agame.com
So, another site to see what i mean (which hasnt this preloader time) is this:
They use this .js for the game:

So,if i use the same .js will be ok? But inside this .js it says agame.com.
Shouldnt that mind?