ok Sorry!
________________________________ De: katopz <[email protected]> Para: [email protected] Enviadas: Quinta-feira, 23 de Julho de 2009 0:39:36 Assunto: [away3d] Re: How animate this Collada File you must add listener for complete event before get animation for it try look at here for more http://away3d.googlecode.com/svn/trunk/examples/Collada/src/ExColladaAnimation.as and please ask in group not my private mail ;p hth On 23/07/2009, Wenderson <[email protected]> wrote: > > this code:... > > > //loader = new Object3DLoader(); > //loader = Collada.parse("mario.dae"); > modelo1 = Collada.parse("mario.dae", {scaling:0.1, > material:"TexturaObj"}); > visao.scene.addChild(modelo1); > > skinAnimation = modelo1.animationLibrary.getAnimation > ("default").animation as SkinAnimation; > } > > /*Iniciar as listas*/ > private function iniciarListas():void > { > addEventListener(Event.ENTER_FRAME, EnterFrame); > } > > /*Navegação e renderização loop*/ > private function EnterFrame(event:Event):void > { > skinAnimation.update(getTimer()*2/1000); > > visao.render(); > } > } > } > > this generate error: > > TypeError: Error #1009: Cannot access a property or method of a null > object reference. > > help me pleaseeeee! -- katopz http://www.sleepydesign.com ____________________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com
