This code snippet taken from away3d4 gold tutorial “Basic_Load3DS”
I have checked everywhere there is no file called “texture.jpg” in my project folder but even I can’t comment this line of code, if commented then it shows error, however I don’t understand how it is working… can some one please explain function of this particular code
//setup the url map for textures in the 3ds file
var assetLoaderContext:AssetLoaderContext = new AssetLoaderContext();
assetLoaderContext.mapUrlToData(“texture.jpg”, new AntTexture());