Hey Beka
you need to import away3d.animators.data.AnimationSequence;

AnimationSequence(prefix:String, smooth:Boolean = false, loop:Boolean = false, fps:Number = 24)

md2.play(new AnimationSequence("frameprefix", true, true , 24));

you also can add a cycle event if you need to like
md2.addOnCycle(myfunction);
if you have more prefixes, you can also use setSequence() to generate logical combinations of moves like "hit", "fall", "roll", "die"... they would be played after each other on a linear fashion like a single animationsequence
You then can add sequence listeners...

you have access also to play, stop, goto, framenumbers etc...

Fabrice


On Aug 29, 2008, at 12:55 PM, Beka Master wrote:


Hi guys,
I've a md2 animated file (exported by MilkShape), for get a loop
animation in Papervision3D I use this code:

...
myMD2.loop(1,200);
...

and it works.

There's some fast method like this in Away3D?

plz help.

Reply via email to