Any sample开发者_运维百科 ActionScript code on the net available ?
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.
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.
精彩评论