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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i drag on a motion guide

Status
Not open for further replies.

ronduq

Programmer
Aug 7, 2007
1
RO
I want to drag an object only on a semicircle , not a straight line or a delimited space. Does anyone know how to do that
 
There may be an easier way, but you can do this using pure ActionScript. The strategy would be to use the mouse position for x and work out y by using sine of arc-cosine x. If you need a code example let me know!

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top