if(percent != total) { obj.gotoAndStop(Math.floor(percent / 25) + 1)); } else { trace("loaded..."); }