sorry
code:
for (i=0; i<8; i++) {
onEnterFrame=function(){
if(Key.isDown(Key.UP)){
if(! game.map["limit"+i].hitTest(game.player._x, (game.player._y + speed - playerhs), true)) {
game.map._y += speed
}
}
if(Key.isDown(Key.DOWN)){
if(! game.map["limit"+i].hitTest(game.player._x, (game.player._y + speed + playerhs), true)) {
game.map._y -= speed
}
}
if(Key.isDown(Key.LEFT)){
if(! game.map["limit"+i].hitTest((game.player._x + speed - playerhs), game.player._y, true)) {
game.map._x += speed
}
}
if(Key.isDown(Key.RIGHT)){
if(! game.map["limit"+i].hitTest((game.player._x + speed + playerhs), game.player._y, true)) {
game.map._x -= speed
}
}
}
}



i now have another issue (i know that codes not very good above, because i just tryed to make it work) and i was wondreing if that was somewhat close to what i should be doing to make mutiple walls.