Trap the draggable object

Hello there, i need your advice , currently i am working on lil application where i need a draggable object which MUST be ‘trapped’ in a certain area

, it can be either set zone or inside a movie clip or trapped surrounded by other movie clips.

i tried hitTest attached to separete movie clip which would stop draggable file from moving but it didnt worked ,but it didnt worked so far… could you help?