# Positioning an object on a curve with out using X, Y

**URL:** <https://forum.kirupa.com/t/positioning-an-object-on-a-curve-with-out-using-x-y/261972>\
**Category:** flash\
**Created:** [June 2, 2008, 9:18am UTC](https://forum.kirupa.com/t/positioning-an-object-on-a-curve-with-out-using-x-y/261972 "2008-06-02T09:18:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![a\_krishnam\_raju](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@a\_krishnam\_raju](https://forum.kirupa.com/u/a_krishnam_raju)\
**Post date:** [June 2, 2008, 9:18am UTC](https://forum.kirupa.com/t/positioning-an-object-on-a-curve-with-out-using-x-y/261972/1 "2008-06-02T09:18:26Z")

</div>

Hi! All  
I have a route (curve on the stage) and a point (round shape which acts as a vechile). I pass the x,y axis values for distance to the point so that the point lies exactly on the line. Starting point of curve is 0 miles and the end is 100 miles. so if i want to place the point (vechile) at 10 miles then i have to maually find x,y axis values and the pass them on to the point using xml file. but instead of passing X, y values i want to covet it to numbers so the each number is equalant to mile. if i pass 1, then the point should appear on the curve at 1 mile distance.

Please hlep me on this.

Thank you  
krishnam
