Hello!
I am trying to load an jpeg image that is larger than 2048 pixels on one dimension which I intend to crop using UV mapping. I cannot get AssetLoader to behave. Using the following code:
_loader = new AssetLoader();
_loader.load(new URLRequest('../assets/earthsurface2.jpg'));
gives me the error:
Error #2032: Stream Error. URL: app:/assets/earthsurface2.jpg
at away3d.loaders::AssetLoader/onRetrievalFailed()[/Users/pokey/Documents/Adobe Flash Builder 4.7/away3d-core-fp11_4_1_0_Alpha/src/away3d/loaders/AssetLoader.as:430]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at away3d.loaders.misc::SingleFileLoader/handleUrlLoaderError()[/Users/pokey/Documents/Adobe Flash Builder 4.7/away3d-core-fp11_4_1_0_Alpha/src/away3d/loaders/misc/SingleFileLoader.as:342]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
None of the examples show images loading at runtime, I am not even sure that AssetLoader is what I should be using.
Any ideas anyone?
TIA