11 Replies Latest reply on Apr 17, 2008 9:28 AM by kglad

    _droptarget issue

      Hi there,

      I'm trying to slide a button over a certain area - and on that happening have my movie go to a new part of the time line. I'm currently using the code:

      slider_btn.onRelease = function(){
      If (this._droptarget == mc_screen.mc_slider.green_box)

      The problem is that with this code, the stopDrag doesnt work at all, and if I release the mouse anywhere (not over "green_box") I'm returned to _root, keyframe 2.

      If I remove the code: _root.gotoAndStop(2); the stopDrag works again, but obviously I've lost the _droptarget functionality.

      Can anyone help, its driving me nuts!!

      Thanks, J.