Hi - thanks for the responses! mesh.loop works perfectly!
Not something I knew about - but I do now :) I guess there's still the question of why it doesn't work with mesh.play - but as long as it animates, that's all I'm concerned with at the mo. I'll keep an eye on the issue and see if I come up with anything. Cheers again for your help D On Feb 22, 1:11 am, ivanKnet <[email protected]> wrote: > 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
