More Precise Wall hitTest (AS2)

I am aware that similar questions about hitTesting have been asked before, but none of them answer what I am asking.

I want to be able to make a movieclip of a wall of something that is impassible in my game and have my character collide with it as it is shown in the image.

Right now I can only seem to make a wall that is a line basically and it is starting to annoy me.

my code is such:


    if(_root.char.hitTest(_root.bg1.moundOne) || _root.char.hitTest(_root.bg1.moundTwo) || _root.char.hitTest(_root.bg1.moundThree) || _root.char.hitTest(_root.bg1.moundFour) || _root.char.hitTest(_root.bg1.moundFive)){
        trace("moundONE");
        _root.speed = 0;
        _root.char._y = _root.char._y + speed;
    }
    else{
        _root.speed = 5;
    }

But like I said it will only work for lines and when it comes in contact with a movieclip that isnt a line, it does not allow the character to pass the furthest point of the movieclip (even is there is no visible wall there because one end is longer and the bounding container of the movieclip is being hitTested instead).

How can I make it so it tests what is in the movieclip instead of the bounding square of the movieclip? Like this to the bank in this game: