1 Reply Latest reply on Jul 4, 2006 6:01 PM by kglad

    To Stop a Clip from Dragging

    JstMrd
      Quick version:

      I have three clips (dynamically loaded) onto the stage. The user is to drag the three clips from one area to another (movie clip destination). When each clip is dragged to the destination it then becomes un-dragable (refer to attached script).

      The problem below arises only once in a blue moon, but poses a problem.

      If the clip is dragged and dropped directly on the specified spot, the script jumps into the first if statement (which ignores the rest of the script totally) and does not complete the count for moving onto the next section.

      Is there an alternative way to change a movie script dynamically when it is dragged to the proper destination to just turn it off from being dragged again.