Hi Try use mesh.loop(0,10) place the number of frames instead of 10.
Ivan On 21 Ășn, 01:44, dapdap <[email protected]> wrote: > Hi guys, > > I'm looking to play an animated MD2 in Away3d Lite. > It's just a 5 frame animation at the moment. > > I embed the MD2 then use md2.parseGeometry. > To play the animation I use mesh.play("idle"); > > It builds okay but when I try to run it I get errors - > [Fault] exception, information=TypeError: Error #1010: A term is > undefined and has no properties. > Fault, play() at MovieMesh.as:143 > I'm sure that the animation is called "idle". > > If I load it but don't try to run the animation it is fine. > The animation plays fine in the normal Away3d setup (3.4.2) > It also plays when I use MD2 Viewer. > I've also had another MD2 file animated in Lite using the same set up > which works fine. > > At the moment I'm very stumped!!! > I don't know if there's something wrong with this particular mesh that > only Lite doesn't like. > I know if I take the MD2/Lite project that is working and use > mesh.play() with an animation sequence name that is incorrect I get > exactly the same error message. > Any ideas/clues?? > > Cheers > > D
