Hi, I’m trying to create a draw program in AS2 where I can draw shapes with my mouse inside a Scrollpane. Furthermore, I need to be able to drag and drop these objects within the Scrollpane. Currently, I’m doing the following:
- I created an empty movie clip called main and I’m attaching it inside the Scrollpane called scroll
- I draw the objects inside another empty movie clip called p0, p1, p2, etc. which I’m attaching inside main.
When I drag the objects around, they can be dragged outside the boundaries of the Scrollpane. How can I prevent that from happening?