when load your swf main file, visitor can play this small game, ball color and loading bar color are all random. When you resize your browser, it can change automatically. you can set ballInterval = 0 to add more balls. If ball hit loading bar, the bar will be added with blur effect.
Also I write instructions for every function or portion. If you want to change more, you can read the souce code.
Just enjoy your playing !!!
Parameters:
var swfUrl = ’’; //set the URL of your swf. //you can test this image ‘http://images.pugster.com/images/items/mega/PD_MU131_X63.jpg’
var swfX = 0; //set X coordinate of your swf.
var swfY = 0; //set Y coordinate of your swf.
var ballInterval = 2; //set probability for creating a new ball;
var barWidth:Number = 200; //width of loading bar.
var barHeight:Number = 20; //height of loading bar.
var ballSize:Number = 25; //size of ball;
You may also like works below:
Templates |
||||
![]() |
||||
Animations |
||||
![]() |
||||
Banner Rotator |
||||
![]() |
![]() |
![]() |
![]() |
![]() |
FAQs Widgets |
||||
![]() |
||||
Contact Form |
||||
![]() |
||||
Menu |
||||
![]() |
![]() |
|||
News Widgets |
||||
![]() |
![]() |
![]() |
||
Preloader |
||||
![]() |
![]() |
![]() |
||
Projects Viewer |
||||
![]() |
![]() |
|||
Slide Show |
||||
![]() |
||||
Other Widgets |
||||
![]() |
||||





















