Hey Silke

Can you provide that dae please? I'll take a look.

cheers

On 10 February 2010 21:57, silke <[email protected]> wrote:

> Hi,
>
> I am trying to load a simple collada file but am getting error
> messages:
>
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
>        at away3d.loaders::Collada/getTextureFileName()
>        at away3d.loaders::Collada/parseMaterial()
>        at away3d.loaders::Collada/parseNode()
>        at away3d.loaders::Collada/parseScene()
>        at away3d.loaders::Collada/prepareData()
>        at away3d.loaders::AbstractParser/parseGeometry()
>        at away3d.loaders::Loader3D/loadTextures()
>        at away3d.loaders::Loader3D/onGeometryComplete()
>        at flash.events::EventDispatcher/dispatchEventFunction()
>        at flash.events::EventDispatcher/dispatchEvent()
>        at flash.net::URLLoader/onComplete()
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
>        at away3d.loaders::Collada/parseNext()
>        at away3d.loaders::AbstractParser/update()
>
> I am loading it with this code:
>
> var loader:Loader3D = Collada.load("dae/plane.dae");
> loader.addOnSuccess(_onLoaderSuccess);
> _scene.addChild(loader);
>
> Now, the collada file works fine with papervision, so it does not seem
> corrupt or anything...
>
> Any ideas?
>
> Thanks,
> Silke
>



-- 
katopz
http://www.sleepydesign.com

Reply via email to