Search code examples
apache-flexactionscript-3mxmlmotion

Simple libs for trajectory motion in Flex Builder (mxml, actionscript)


I need a simple rainbow trajectory motion in Flex builder.

We have 2 points [(x1, y1); (x2, y2)], we need to animate object from one to another over some simple rainbow trajectory like in this picture in 10 seconds

alt text
(source: narod.ru)

What libs could you suggest for such an operation?


Solution

  • I like TweenMax a lot. It is very simple to use. For your scenario you can probably move along a bezier curve, which they also support.

    http://blog.greensock.com/tweenmax/