setInterval problem [FMX]

Ok so i have another problem :frowning:

This is the code i have:

[AS]
this.onEnterFrame = function() {
setInterval(_root[“box”+i], bouncer(), 1000);
};
[/AS]

And i’m trying to target “box”+i to play the function bouncer every second. But instead of just targeting what i want, it targets everything on stage, so everything on stage has the function bouncer called :-\

How should i change it so it only targets what i want? thanks!

[AS]setInterval(_root[“box”+i], “bouncer”, 1000);[/AS]

Thanks kax, but now i think i have realized that this shouldn’t be the main problem. I think i’ll be openin a new thread :stuck_out_tongue: