Any sample code on the net available ?
Thanks.
Any sample code on the net available ?
Thanks.
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.
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.