Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

force mouse release

Status
Not open for further replies.

marble

Programmer
Mar 17, 2001
22
0
0
CA
Hi all,

I have an fla that drags several movie clips. The problem is that I would like to force the release of the mouse if the user drags the mouse past a certain x position ie(right side of the movie (670).

Thankyou in advance

Marble
 
a quick check if the clip has reached that position and stopdrag should do it

something like this inside an on enterframe action

if(clip._x>=670){
stopdrag();
}

 
Hi all,

billwatson, thankyou for the response back. Yes, the movie clip did stop dragging.

Thanks again,

Marble
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top