Selection problem?

i want to know if the next thing is possible, and if it is… how should i do it.

i’ve got a menu with 4 buttons. if you click one i want to do something with other 3, and do something else with the clicked button… its kinda like the navigation on this website www.green-lizard.com

can somebody help me?

have you tried it becuase thats a large problem to explain? i mean theres multiple parts to it, but i believe looking at the file size for the loading that they just used movieclips, i could be wrong though.

You can do this using a couple of arrays
//mc with linkage mc + dynamic textfield instance myText.
var acceleration = 12;
var friction = 0.8;
clipArray = [];
posArray = [];
for (var k = 0; k<6; k++) {
myclip = attachMovie(“mc”, “mc”+k, k);
myclip._y = 300;
myclip._x = 50+myclip._width*k;
myclip.myText.text = "Button “+k;
clipArray.push(myclip);
countArray.push(k);
posArray.push(myclip._x);
myclip.onPress = dostuff;
}
function move() {
var xdif = posArray[this.jvar]-this._x;
this.xspeed += xdif/this._parent.acceleration;
this.xspeed = this._parent.friction;
this._x += this.xspeed;
this.checkDistance();
}
checkDistance = function () {
if (Math.abs(posArray[this.jvar]-this._x)<1) {
this._x = posArray[this.jvar];
delete this.onEnterFrame;
}
};
function dostuff() {
for (var i = 0; i<clipArray.length; i++) {
clipArray
.ivar = i;
}
k = clipArray.splice(this.ivar, 1);
clipArray = k.concat(clipArray);
for (var j = 0; j<posArray.length; j++) {
clipArray[j].jvar = j;
trace(clipArray[j]+” "+clipArray[j].jvar);
clipArray[j].onEnterFrame = move;
}
}

http://www.gifsrus.com/testfile/swingbuttons.swf

yeah this will help… but i cant get it working… it won’t move… it does trace the right position but it won’t move. Maybe you can send me the .fla? Thanks a lot!

if you are using 2004 check that all my variables are the same case-i am careless.
You don`t need the line countArray.push(k); Just something i was playing with + forgot to delete.