Simpler question about startdrag() usage
i need this:
i need to have it so that only after you click and hold on a movieclip for more then 500 ms then it will begin a drag sequence.
my current code (doesnt work)
Code:
on (press) {
if (timegot == false) {
timepress = getTimer();
timegot = true;
}
if (getTimer()-timepress>=500) {
_root["cell"+xl+yl].startDrag([[left, top, right, bottom]]);
}
}
on (release) {
_root["cell"+xl+yl].stopDrag();
Where "celkl"+xl+yl is the movieclip located closest to the spot you click and hold on the button (invisible) which is 1 layer above the movie clips... (i tested this and this part of it works- its the only drag after 500 ms and keep dragging till i let go part that doesnt)