essaye ton modele dans Prefab, si tu vois des modeles affichés avec une texture
blanche, cela veux surement dire que les url dans le xmlk sont pas bon.
regarde apres avoir charger, dans le menu loading log
tu trouveras des infos surement interressantes
Fabrice
On Mar 2, 2011, at 3:32 PM, Colir wrote:
> Hi the team,
>
> i'm trying to load a .dae file with away3d, and i have always an error
> with the loading of the texture...
>
> TypeError: Error #1009: Il est impossible d'accéder à la propriété ou
> à la méthode d'une référence d'objet nul.
> 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()
>
> i don't understand, because my .dae haven't texture > its a simple
> cube, just for try
> and i load the collada like this :
> objLoader = Collada.load(objPath,{autoLoadTextures :
> false,scaling:0.005});
> scene.addChild(objLoader.handle);
>
> however i have always this error...i just don't understand... i 've
> already load succesfully some .dae with previous version of away3d and
> with texture...
>
> thanks very very much for your help