Can this be done?

Hi, can anyone tell me how to make your character (in Flash 8) not go through walls without messing with the _xscale? I've seen alot of tutorials for this but all of them make the character bounce. I don't want this because in my game the background is the one that moves (my character is always centered, it only rotates). So if anyone could tell me how it would be great.