Skip to main content
Known Participant
March 19, 2012
Question

Multiple draggable movieclip within the x and y axis of another movieclip

  • March 19, 2012
  • 1 reply
  • 537 views

I have this four draggable movieclips. I have able to drag the green bar within the gray bar and the dynamic percentage text increase/decrease accordingly.

The program should make the second draggable determine the percentage of the first (100 - current value) and make it the basis for the other 3 draggable.

Example:

if the 1st draggable will be 75%. the other 25% will be divided by the other 3 draggables.

The 3rd draggable determine the 2nd percentage (100 - current value) and make it the basis for the other 2 draggable and so on.

When I drag the 1st draggable the other 3 is drag & animated accordingly but I cannot drag the 2nd, 3rd and 4th draggable.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
March 19, 2012

1.  copy and paste the code your use to define th drag and drop for those 4 movieclips.

2.  you need to expalin how those percentages interact so your statements don't contradict each other.