Hello!
I have a “slide” function that slides a MC for let’s say 150 px. I call that function every 5 sec with the SetInterval function.
slide = function(){//my movement here (a loop until it reaches the wanted position); updateAfterEvent}
setInterval(slide; 5000);
the things is, when i run the function without setInterval, it works perfectly. But when i setInterval and even if i added a updateAfterEvent(), it still won’t slide but only move to the final position of the sliding… So why doesn’t it refresh the display??
TiA