flash start drag prob...

  • Started
  • Last post
  • 1 Response
  • PHA

    I am using the following code to drag a movie clip, but if i drag my mouse outside the browser and release, it breaks the flash file so that the clip is no longer draggable.

    on (press) {
    startDrag(this, false, 2, 88, 598, 88);
    }
    on (release, releaseOutside) {
    stopDrag();
    }

    can anyone suggest something? Am I missing something really obvious?

  • PHA0

    i got it... this works...
    someListener = new Object();
    someListener.onMouseUp = function () { ... };
    Mouse.addListener(someListener);