tags:

views:

24

answers:

2

Any sample code on the net available ?

Thanks.

+1  A: 

You'll want to have a look at the fl.motion package

It includes actionscript classes that implement the keyframe/tween-based animation that the Flash IDE uses.

You can define the movement either directly with actionscript or using an XML-based syntax.

There are some simple examples in the Adobe documentation in the link.

DanK
Thank you but I guess I need a flash license to use them ?
Yes, you need a flash license to use the fl.motion package. If you need a non-adobe solution, I've heard good things about Greensock, as suggested by Ninja in their answer
DanK
+1  A: 

Don't use fl.motion package, use tweening engines instead! Such as Greensock Tweening Platform, GTween etc. It's free, well documented and has high perfomance. Just look at Greensock's main page header, its animations made with pure ActionScript 3.

Ninja
Seems exactly what I want, thanks a lot.
Remember to check the license for Greesock - it's only free if you're using it for a public website or a free game/app
DanK