title: AS3 - Changing depth of MC in relation to another
body: <p>I am trying to make this top-down game that uses slightly 3D sprites. I want to be able to make the player walk in front of, as well as behind, any object he comes to.</p>
  
  <p>Like, if he's a certain distance behind another object, he'll move behind it and if he's closer to the front of the other object, he'll move in front of it.</p>
  
  <p>Kind of like those old arcade games like streets of rage.</p>
  
  <p>Any ideas?</p>