[FMX] Random easing

This might give you a little more control

myArray = ;
j = 0;
for (i=1; i<13; i++) {
this[“sq”+i].ypos = this[“sq”+i]._y+100;
myArray.push(this[“sq”+i]);
}
shuffle = function () {
return Math.round(Math.random());
};
// randomizes jokes array
myArray.sort(shuffle);
function moveClip(clip, snelheid) {
clip.onEnterFrame = function() {
clip._y += (clip.ypos-clip._y)/snelheid;
if (Math.abs(clip.ypos-clip._y)<2) {
clip._y = clip.ypos;
delete clip.onEnterFrame;
}
};
}
function startoff() {
if (j<myArray.length) {
moveClip(myArray[j], 10);
j++;
} else {
clearInterval(myinterval);
trace(“finished”);
}
}
myinterval = setInterval(startOff, 300);