# Two polylines and map each other

**URL:** <https://forum.kirupa.com/t/two-polylines-and-map-each-other/308985>\
**Category:** flash\
**Created:** [May 4, 2010, 4:54pm UTC](https://forum.kirupa.com/t/two-polylines-and-map-each-other/308985 "2010-05-04T16:54:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cabradb](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@cabradb](https://forum.kirupa.com/u/cabradb)\
**Post date:** [May 4, 2010, 4:54pm UTC](https://forum.kirupa.com/t/two-polylines-and-map-each-other/308985/1 "2010-05-04T16:54:57Z")

</div>

I have two polylines. When mouse is over one of then, a should map this on the other line, but haven’t got any idea how to measure distanse on that first line from the begining to current (mouse over) point.

Any ideas?
