R – Error parsing .dae,Error#1009 in flash player,Augmented Reality flash

augmented-realityflashpapervision3d

Whenever I am trying to use an animate.dae file(I am creating small project using flartoolkit+papervision3d+ascollada) .The flash player is reporting me the errors pasted below.If I am pressing continue then I can see my .dae file but without animation 🙁
And Please note that I am not using any heavy animation.

ERROR:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

at org.papervision3d.objects.parsers::DAE/buildAnimationChannels()[C:\..\org\papervision3d\objects\parsers\DAE.as:657]

at org.papervision3d.objects.parsers::DAE/onParseAnimationsComplete()[C:\..\org\papervision3d\objects\parsers\DAE.as:1722]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at org.ascollada.io::DaeReader/loadNextAnimation()[C:\..\Libs\org\ascollada\io\DaeReader.as:169]

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

Best Answer

Fenomas is right, this has to do with how the COLLADA data was made. There is some very specific work arounds that can be used to help cleanup the XML which is all COLLADA/DAE is.

I touched deeply on this all here.

Some people use things like Milk Shape 3D, or even Swift3D to export their XML. What I have found through my travels is that native COLLADA exporters from MAYA and MAX fail terribly. If your using 2008 version of either of the formerly named software, feelingsoftware.com makes a wonderful COLLADA(DAE) exporter that papervision loves!

Related Topic