texture file must be placed with *.dae, i think

On Wed, Dec 8, 2010 at 11:40 PM, Dona <[email protected]> wrote:

> Yes...
>
> On Dec 9, 1:32 am, Dona <[email protected]> wrote:
> > Yes   <init_from>pumaMap.jpg</init_from>
> >
> > On Dec 9, 1:29 am, Aji Pamungkas <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Is it like this in your DAE :
> > > <init_from>pumaMap.jpg</init_from>
> >
> > > ?
> >
> > > On Wed, Dec 8, 2010 at 9:27 PM, Dona <[email protected]> wrote:
> > > > Hi Aji,
> >
> > > > I've checked my dae file, inside that i can see only one texture file
> > > > named "pumaMap.jpg", that i've given in right path!
> >
> > > > Thanks
> >
> > > > On Dec 9, 12:57 am, Aji Pamungkas <[email protected]>
> > > > wrote:
> > > > > Hi Dona,
> >
> > > > > Open your collada file with text editor, find all textures that
> exist
> > > > > inside, and make sure, they are in the right folder.
> >
> > > > > Good luck. :)
> >
> > > > > On Wed, Dec 8, 2010 at 8:40 PM, Dona <[email protected]> wrote:
> > > > > > Hi,
> >
> > > > > > I was trying to load a collada object.But it throws an error
> >
> > > > > > TypeError: Error #1009: Cannot access a property or method of a
> null
> > > > > > object reference.
> > > > > >        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()
> >
> > > > > > My code :
> > > > > >                        var collada : Collada = new Collada();
> > > > > >                        var loader:Loader3D = new Loader3D();
> >
> > > >  loader.addEventListener(Loader3DEvent.LOAD_SUCCESS,
> > > > > > onLoadCollada);
> >
> > > > > > loader.addEventListener(Loader3DEvent.LOAD_ERROR,
> onErrorCollada);
> > > > > >
>  loader.loadGeometry("puma_run.dae",collada);
> > > > > >                        scene.addChild(loader);
> >
> > > > > > I've used away3D 3.6.1v.
> >
> > > > > > Thank You
> >
> > > > > --
> > > > > Aji Pamungkas
> >
> > > --
> > > Aji Pamungkas
>



-- 

With best regards

Reply via email to