Hello!
I am using this code to make a draggable bar within a long, rectangular box. It works great except when I roll out, it continues to drag back and forth, depending on where the mouse is on the rest of the screen, even though it’s not over the movie clip itself.
This is the code I used on the timeline:
// Starts the dragging
_root.connect.onRollover = function() {
_root.connect.startDrag(false, 50, 148, 655, 148)
}
// Stops the dragging
_root.connect.onRollout=function(){
this.stopDrag();
}
OR does anyone have any other suggestions? the site I’m modeling this function after is [color=#22229c]www.andytitus.com[/color]
Thanks!