Because I need to add tons of those... but with different ["names"]+2.Actionscript Code:if (_root["playerMC"+2]._x<=newX) {

_root["playerMC"+2]._x += speed;

}

if (_root["playerMC"+2]._x>=newX) {

_root["playerMC"+2]._x -= speed;

}

if (_root["playerMC"+2]._y<=newY) {

_root["playerMC"+2]._y += speed;

}

if (_root["playerMC"+2]._y>=newY) {

_root["playerMC"+2]._y -= speed;

}