If you try for the first time to load external object file using Away3D 3.6 library, you’ll likely encounter error like this :
This error will be shown if your file is in the same folder with swf file and you’re using relative path. If you use the debugger on FlashDevelop / Flash Builder, the error is shown in this code :
This is a bug in Away3D 3.6. To fix this problem, add forward slash in the file path.
Example,
var _loader:Loader3D = new Loader3D(); _loader.loadGeometry("./monkey.3ds", new Max3DS());
No comments:
Post a Comment