You can project a perpendicular line from the mouse to the target line and then
find the intersection.
Stick the movieclip there. bingo.
Merrill, Jason wrote:
But he's talking about constraining a movie clip to be dragged along a
sloped line. Figuring out the actual slope isn't the hard part.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com