WOOT! Okay, just need a little more help, and ill be done! I hope you like it!

I am trying to redo this NAV I made (which i did with lots of tweening)----> http://s91931107.onlinehome.us/nav/, but with just ActionScript this time.

Okay, so I have a button that when clicked sets the variable xmax and ymax to 300. Then I have an MC (box1) with this code on it:

onClipEvent (load) {
this.xmax = 100;
this.ymax = 100;
}
onClipEvent (enterFrame) {
inertia = .8;
k = 0.05;
x = this.xmax-this._xscale;
y = this.ymax-this._yscale;
xp = xpinertia+xk;
yp = ypinertia+yk;
this._xscale += xp;
this._yscale += yp;
}

This results in a cool elastic effect when the mc (which is a simple orange square) springs open. NOW HERE’S THE TRICKY PART, I have 3 other MC’s which I want to remain the same distcance from the edge of the springing open box at all times like in: http://s91931107.onlinehome.us/nav/. So anybody know how i could accomplish this? I’m assuming I got to make the other 3 mc’s analyze parts of the above code, but I’m not sure exatly what to do. I tried copying the above code to the other mc’s, and changing _xscale to _x and “this” to box1, but that made the boxes fly off the screen when box1 enlarged. SO, anyone know?

|||| AND lastly, making the other boxes bounce around a bit due to being pushed by the enlarging box would look cool, but that may be too difficult.