Necesito su ayuda por favor, estoy tratando de hacer que unos objetos se alineen usando otros objetos como guia, no el stage, para que al momento de hacer el resize queden alineados con y distribuidos conforme a los objetos que los delimitan, este es el codigo que estoy usando:

Código :

Stage.scaleMode = "noScale";
Stage.align = "TL";
ancho_minimo = 780;
alto_minimo = 460;
clips_ajustables = new Array();
myListener = new Object();
Stage.addListener(myListener);
myListener.onResize = rec;
function rec() {
   alto = Stage.height;
   if (alto<alto_minimo) {
      alto = alto_minimo;
   }
   ancho = Stage.width;
   if (ancho<ancho_minimo) {
      ancho = ancho_minimo;
   }
   for (var g = 0; clips_ajustables[g]; g++) {
      clips_ajustables[g].alinear();
   }
}
MovieClip.prototype.setAjuste = function(ajuste_x, ajuste_y, ajuste_width, ajuste_height) {
   this.ajuste_x = ajuste_x;
   this.ajuste_y = ajuste_y;
   this.ajuste_width = ajuste_width;
   this.ajuste_height = ajuste_height;
   this.x0 = this._x;
   this.y0 = this._y;
   this.w0 = this._width;
   this.h0 = this._height;
   this.ajustePersonalizado = false;
   clips_ajustables.push(this);
   this.alinear();
};
MovieClip.prototype.alinear = function() {
   if (this.ajuste_width) {
      if (this.ajuste_width.indexOf("%") != -1) {
         this._width = (_root.ancho*parseInt(this.ajuste_width))/100;
      } else {
         this._width = this.ajuste_width;
      }
   }
   if (this.ajuste_height) {
      if (this.ajuste_height.indexOf("%") != -1) {
         this._height = (_root.alto*parseInt(this.ajuste_height))/100;
      } else {
         this._height = this.ajuste_height;
      }
   }
   if (this.ajuste_x == "izquierda") {
      this._x = this.x0;
   }
   if (this.ajuste_x == "derecha") {
      this._x = Math.round(this.x0+(_root.ancho-_root.ancho_minimo));
   }
   if (this.ajuste_x == "centrar") {
      this._x = Math.round((_root.ancho-this._width)*0.5);
   }
   if (this.ajuste_y == "arriba") {
      this._y = this.y0;
   }
   if (this.ajuste_y == "abajo") {
      this._y = Math.round(this.y0+(_root.alto-_root.alto_minimo));
   }
   if (this.ajuste_y == "centrar") {
      this._y = Math.round((_root.alto-this._height)*0.5);
   }
   if (this.ajustePersonalizado) {
      this.ajustar();
   }
};

y los movie clips que quiero qu delimiten llevan este codigo:

Código :

onClipEvent (load) {
   this.setAjuste("centrar","arriba",false,false);
}

para el de arriba

Código :

onClipEvent (load) {
   this.setAjuste("centrar","abajo",false,false);
}

para el de abajo.

Necesito un codigo que use estos dos objetos como limite para distribuir entre ellos los que quedan en medio. gracias por su atención y su respuesta.