blah-de-blah
August 19th, 2003, 03:25 AM
Ok so i have another problem :(
This is the code i have:
this.onEnterFrame = function() {
setInterval(_root["box"+i], bouncer(), 1000);
};
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!
This is the code i have:
this.onEnterFrame = function() {
setInterval(_root["box"+i], bouncer(), 1000);
};
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!