Problem with moving movie clip

I have a weird problem that I cant google a solution to. For some reason the x++ loop to move clip doesn’t work. There must be an easy fault, but as a newbie I can’t see it…

cX=iButton*.[COLOR=RoyalBlue]x[/COLOR];
[COLOR=RoyalBlue]while [/COLOR](cX>iX) {
iButton*.[COLOR=RoyalBlue]x[/COLOR]=cX;
cX–
}

It should move a thing smoothly, as I understand it, but it doesn’t. It completes the [COLOR=RoyalBlue]while [/COLOR]and then shows the iButton at iX, completing the loop without showing a thing meanwhile. I even put a 1000-count [COLOR=RoyalBlue]for[/COLOR]{} loop to slow it down, but it just delayed the final outcome. I also tried to move the moving to a separate function, and into a package. (That’s how stupid solutions I tried…)
What could be the problem here?

(It’s these menus I want to slow down.)

Thanks a lot