hello,
I have an array of points that define a path. I would like to
interpolate the complete path, so that I can move an object along that
path based on a position.
So for instance when I tell the interpolator to move to postion .5 it
would be in the middle of the path, based offcourse of the interpolator
step/interval size.
for instance:
interpolator.interval = 3 pixels;
interpolator.getPositionAt(.5) // would be the middle position.
The solution I am after is that I dont want to precalculate all the
positions up front, I would like to calulcate the position 'on the fly'
so to say.
Could someone give me a hint on how to tackle this.
Much appreciated.
Jiri
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders