Ideas on this Platform game ( with depth!)

hey!

Remember those old games… like “Captain Commando” … where your character moves across the screen…And into the back … and to the Front of the screen…

Well. I’m attempting to make something like that…But with Platforms also…
But i’m just not too sure on how i should do the jumping of characters onto boxes/platforms…

Here’s a quick image of what i’m trying to do…

For a normal platformer… I could of just make a moveclip called ground and just do the hitTest of the character clip to the ground clip and just move y values arond… but… since i’m incorporating depth as well… If i use that method… Whenever i jump… i’ll always end up at the top of the ground movieclip…

How do you think i should code the jumping onto of a crate/box?

Any ideas?