[away3d] Problem with chapter 4 example in 3D for Flash book

3 views
Skip to first unread message

JKaris

unread,
May 19, 2010, 2:37:17 AM5/19/10
to Away3D.dev
Hi All,

I am having a problem with an example in the Away3D book.

In chapter 4 there is the example named - LoadingExternalModels

I get an error message on the LoaderCube:

"Loading Texture Error #2035 URL not found."

It is looking for ape_normals

But there is no file named that in the chapter 4 assets folder.

There is in chapter 5 assets, but moving this to the chapter 4
location still gives the error.

Am I doing something wrong? Has anyone else had this problem?

Has been a great read so far.

Thanks,
jkaris

richardolsson

unread,
May 19, 2010, 4:44:18 AM5/19/10
to Away3D.dev
Hi,

I'm glad you're liking the book so far. Thanks for spotting this. It
seems the 3DS file that's provided in the sample package has somehow
been corrupted (or in some way made incompatible.) The mesh was never
meant to include a texture in the first place, especially not one
named "ape_normals." (without a file suffix.)

We will look into this, and amend the sample files. In the meantime,
you can get the code to work by preventing the loading of textures
completely:

_loader = new LoaderCube();
_loader.autoLoadTextures = false;


Please keep your comments coming. We appreciate them greatly!


Cheers
/R

richardolsson

unread,
May 19, 2010, 7:13:09 AM5/19/10
to Away3D.dev
Hello again!

I've updated the model file in the assets package to fix this. You can
get the updated package at www.flash3dbook.com right now, and from
friendsofed.com shortly!

Cheers
/R

JKaris

unread,
May 19, 2010, 7:50:17 AM5/19/10
to Away3D.dev
Hi,

Thanks for the fast reply! And thanks for confirming I was not going
crazy! had me stumped for a while!

Will grab the new files now - cheers!

JKaris.

On May 19, 9:13 pm, richardolsson <r...@richardolsson.se> wrote:
> Hello again!
>
> I've updated the model file in the assets package to fix this. You can
> get the updated package atwww.flash3dbook.comright now, and from

richardolsson

unread,
May 20, 2010, 3:08:34 AM5/20/10
to Away3D.dev
I've added an Errata document to flash3dbook.com, describing this
error and any others that we may or may not find. :)


Cheers
/R


On May 19, 1:50 pm, JKaris <jonathan.kafka...@gmail.com> wrote:
> Hi,
>
> Thanks for the fast reply!  And thanks for confirming I was not going
> crazy!  had me stumped for a while!
>
> Will grab the new files now - cheers!
>
> JKaris.
>
> On May 19, 9:13 pm, richardolsson <r...@richardolsson.se> wrote:
>
>
>
> > Hello again!
>
> > I've updated the model file in the assets package to fix this. You can
> > get the updated package atwww.flash3dbook.comrightnow, and from
Reply all
Reply to author
Forward
0 new messages