Trouble loading .awd on android device. Works fine in simulator.

Software: Away3D 4.x

medellin, Newbie
Posted: 17 December 2012 11:10 PM   Total Posts: 8

I’m trying to get a .awd file to load on my android device, but it’s failing with a stream error. The same geometry loaded as a .obj works. Also, the .awd only fails on my android device. It works fine in the simulator.

The error I get is:

Error: Error #2032: Stream Error. URL: app:/assets/bear.awd
at away3d.loaders::AssetLoader/onRetrievalFailed()[C:\src\away3d\loaders\AssetLoader.as:423]

   

Avatar
loth, Sr. Member
Posted: 18 December 2012 12:29 AM   Total Posts: 236   [ # 1 ]

try to use
var loader3d : Loader3D = new Loader3D(false);

   

medellin, Newbie
Posted: 18 December 2012 06:11 PM   Total Posts: 8   [ # 2 ]

Thanks, but I was already passing in false.

var loader3D:Loader3D = new Loader3D(false);
assetToken = loader3D.load(url, null, null, new AWD2Parser());
assetToken.addEventListener(AssetEvent.ASSET_COMPLETE, onCompleteHandler);

Any other ideas?

   

62316e, Newbie
Posted: 17 June 2013 10:17 AM   Total Posts: 25   [ # 3 ]

Bump!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X