Hi
I have 9 images that are draggable on my screen - and when pressed become the top image- using the script below.
I’d also like to constrain to a rectangle (or coordinates) - ideally adapting the exisiting script and movie clip set-up.
Grateful for any ideas on achieving this.
Thanx
The script:
on (press) {
//Start Dragging Movieclip Behavior
startDrag(this);
this.swapDepths(this._parent.getNextHighestDepth());
//End Behavior
}
on (release) {
//Stop Dragging Movieclip Behavior
stopDrag();
//End Behavior
}