Tim, That could help. I have to see how I can extend that
functionality for more complex paths, but this seems to be a good start.

Sefi, I am familiar with some of the tween engines. However, I believe
the create tweens from point x1,y1 to x2,y2. Hence, I need to break
the path in multiple line segments to use them. That is a possibility,
but I would need then to look for a way to fit a function to a path.

Gilbert 


--- In [email protected], "Sefi Ninio" <[EMAIL PROTECTED]> wrote:
>
> You can use a tween library ( there are many out there - tweener,
tweenlite
> etc.).
> you can give it a source and origin x,y Points and duration, easing
function
> etc and it will handle the animation.
> it the route is not a straight line, you can break the animation into
> sections, listen for the end of one and start the next one.
> 
> I don't know about tweenLite, but in tweener it's done in a single
line of
> code.
> 
> HTH
> Sefi
> 
> On Tue, Nov 25, 2008 at 3:21 AM, tim.geiges <[EMAIL PROTECTED]> wrote:
> 
> >   Take a look at, it might have your answer(I hope) :-)
> >
> >
http://keith-hair.net/blog/2008/05/30/interpolation-of-a-point-on-quadratic-curve/#more-4
> >
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>,
> > "gilbert_mizrahi" <mizrahi@> wrote:
> > >
> > > I would like to be able to draw a path and then have an object
> > > "travel" through that path.
> > >
> > > I know how to draw a path in AS3. But I need to get some tips on
how I
> > > can make an object (i.e. car) following that path. Something
like the
> > > original LineRider.
> > >
> > > A while ago I saw an example on a blog, which I did not
bookmark, and
> > > I am unable to locate it again.
> > >
> > > Thanks,
> > > Gilbert
> > >
> >
> >  
> >
>


Reply via email to