i'm loading a collada file, made in 3dsmax 2009, just a simple test, a
teapot moving from a to b.

i want to know how to control this animation in away, i have googled
it but all the other examples were not on this topic and the
documentation is poor.

bellow is a part of my code, i tried different aproaches but none of
them worked...it gives me a #1009 error

function onSuccess(event:Loader3DEvent):void
{
        loaded = true;

        model1 = event.target.handle as ObjectContainer3D;
        mesh = model1.getChildByName("node-Teapot01") as Mesh;
        mesh.gotoAndPlay(1)

        anim = model1.animationLibrary.getAnimation("default").animation as
Animation;
        anim.start()
}

Reply via email to