kottore / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

loader filepath #137

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In 3.6 external mesh files do not load from the same directory as your
working file. Everything works fine, if you put your DAE, AWD or whatever file 
in a subfolder and reference it.

For me it seems like it is not allowed to have no filepath. This
causes:

TypeError: Error #1009
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() 

Original issue reported on code.google.com by wiedenst...@gmail.com on 21 Nov 2010 at 3:51

GoogleCodeExporter commented 8 years ago
got the same problem here, THX for info!

Original comment by mattias....@m-horvath.at on 6 Dec 2010 at 11:55

GoogleCodeExporter commented 8 years ago
You can use the "./" notation before your filename to specify the path for the 
local directory.
When I tried "image.png" as the path string, it failed - but if I used 
"./image.png" then it loads correctly.

Original comment by evilja...@gmail.com on 17 Jun 2011 at 10:39