I have been trying to parse an embedded MD2 file in Away3d 3.5. I
had no problems with the same MD2 file in earlier versions of Away3d
(I'm not sure which versions, but they were whatever was current a
year or so ago).
But now, although the ogre.md2 file parses perfectly, mine give the
following runtime errors:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at away3d.core.base::Vertex/setValue()[C:\Inetpub\wwwroot\bsp_street
\src\away3d\core\base\Vertex.as:237]
at away3d.animators::VertexAnimator/updateProgress()[C:\Inetpub
\wwwroot\bsp_street\src\away3d\animators\VertexAnimator.as:56]
at away3d.animators::Animator/set progress()[C:\Inetpub\wwwroot
\bsp_street\src\away3d\animators\Animator.as:211]
at away3d.loaders::Md2/buildAnimations()[C:\Inetpub\wwwroot\bsp_street
\src\away3d\loaders\Md2.as:55]
at away3d.loaders::Md2/parseNext()[C:\Inetpub\wwwroot\bsp_street\src
\away3d\loaders\Md2.as:153]
at away3d.loaders::AbstractParser/parseGeometry()[C:\Inetpub\wwwroot
\bsp_street\src\away3d\loaders\AbstractParser.as:424]
at Main/initAway3D()[C:\Inetpub\wwwroot\bsp_street\src\Main.as:246]
at Main/init()[C:\Inetpub\wwwroot\bsp_street\src\Main.as:181]
at flash.display::DisplayObjectContainer/addChild()
at Preloader/startup()[C:\Inetpub\wwwroot\bsp_street\src\Preloader.as:
68]
at Preloader/checkFrame()[C:\Inetpub\wwwroot\bsp_street\src
\Preloader.as:41]
My file was created in and exported from Blender 2.49b and then loaded
into Misfit Model 3D 1.3.8 - a process that worked well before. Does
anyone have any ideas?
Regards,
John Wilson