Hello,
I’m a fairly good actionscripter, and am just getting started with Away 3D in order to make an Air 3.1 project for mobile. I’ve made a few simple meshes using the latest stable version of Gold I downloaded yesterday (v4.0.9) and they run amazingly smoothly on a phone! (congrats guys, it’s awesome!)
I’m now trying to use bits of code from Richard Olsson’s tutorial (on adobe: making a vase from an external .awd file) and it seems to fail. A few other people have reported the same issue on the comments section of the tut, was wondering is there a solution?
_loader = new Loader3D();
_loader.addEventListener(LoaderEvent.RESOURCE_COMPLETE, _govase);
_loader.addEventListener(LoaderEvent.LOAD_ERROR, _oops);
_loader.load(new URLRequest('vase.awd'));
private function _govase(e:LoaderEvent):void
{
_view.scene.addChild(_loader);
}
error:
[Fault] exception, information=Error: Error #2030: End of file was encountered.
From what I’ve searched the tutorial was written for a pre-gold version of away, and must have worked. the file format was supposedly backward compatible, so should be okay, so what’s up? Should I try a different .awd in case it’s corrupt (are there any freely available ones around that definitely work?)
Any help greatly appreciated!:)