I have a path drawn in the flash IDE, accessible as a MovieClip.
With AS3 I need to find the closest point lying on this path to another point.
How can I do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A trick I’ve used in the past is to convert the path to a motion guide, then create a simple timeline tween where a simple MC travels from start to finish. then export that animation as an Animation/XML. you’ve now got a list of points with timing info to use however you want. (writing from my phone so I can’t look up the exact syntax within the IDE.)