drag and drop need help actionscript 2
hello all
excuse me for my bad English
i have 9 squares and 9 circles
https://board.flashkit.com/board/ima.../2021/01/1.jpg
i need :
if i click square1 ===> drag any of circles and drop into square1 only after that:
1- stop drag and drop this circle
1- stop drag and drop into this square1
2- stop square1 press
and so on if i click square2 ===> drag any of circles and drop into square2 only and so on
What is the simplest code to do this
my code is :
PHP Code:
on (press) {
if(timer >0){startDragLocked();
}
onSelfEvent (release,releaseOutside) {
stopDrag();
}
thanks for help