title: how can move the child only inside the parent?
body: <p>Recently I worked in a project using Flex. Its a Photo editing project. I have took a Canvas and take a image in that canvas using the code <code>canvas.addChild(image)</code> . Now i can move the image freely by using moving code. The image move inside the canvas and outside the canvas. I want to move the image/child only inside the canvas not outside. How can i do this?</p>