how to i make a object or graphic drag-able?
on(press){
startDrag(this,true)
}
on(release){
stopDrag()
}
for some reason when i try to drag the object with that script on it, the entire scene drags around (other objects, etc.) any idea?:-/
that means you have the script on the frame, not the object, so it drags _root.
:thumb:
*Originally posted by radicaljugnu *
**
on(press){
startDrag(this,true)
}
on(release){
stopDrag()
}
**
include releaseOutside too
on(press){
startDrag(this,false)
}
on(release, releaseOutside){
stopDrag()
}