check out TweenMax and the bezierThrough property.

if you are moving horizontally and tweening just the x though, on
enterframe you can go cycle through 360° set your y based on the sine of
that and an amplitude. that will do what you want too.

On 7 November 2011 18:25, Paul Andrews <p...@ipauland.com> wrote:

> I'm just thinking about the best way to do this (OK, the laziest way to do
> this).
>
> I have a MC at point A and want to tween it to point B. OK, no problem.
> But really, I don't want my MC to move in a straight line, I want it to
> oscillate - I guess as a damped (attenuated at both ends) sine curve along
> the path between A and B.
>
> Before I start hurting my brain, any ready made solutions out there?
>
> Paul
> ______________________________**_________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.**com <Flashcoders@chattyfig.figleaf.com>
> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders>
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to