hola tengo esto

Código ActionScript :

onEnterFrame = function () {
      percent2 = int((mc_container2.getBytesLoaded()/mc_container2.getBytesTotal())*100);
         if (percent2 == 100) {
         this.onEnterFrame = null;
         _root.precargaMc.mascara._xscale = percent2;
         precargaMc._visible = false;
         
      } else {
         _root.precargaMc.mascara._xscale = percent2;
         if (registre == 1) {
            blur2 = function(){
f = 1;
d = 2;
this.onEnterFrame = function() {
   var blur:BlurFilter = new BlurFilter(f, d, 5);
   mc_container2.filters = [blur];
   if (f == 60) {
      this.onEnterFrame = null;
   } else {
      f = f+1;
      d = d+1;
   }
}
};
}


creo que el segundo enterframe se me carga todos los enter frames, puedo solucionarlo de algún modo? puedo nombrar el enterframe y cargarme el enterframe que quiera?

Gracias!