Preloaders.....again!

hi, how can i do this kind of preloaders:
http://www.xm2.com/xm5/broadband.html
i mean, the object that after some % of the anim. is loaded, explodes, ??

it is just an if statement saying that if x% is loaded, then gotoAndPlay a frame of the cube animation.