Hi, i have been trying to use mloader with OpenFL, however, the loader does not find any assets at runtime. Example (file tree):
/bin
application.swf
asset.xml
Trying to load asset.xml:
var loader = new XmlLoader("asset.xml");
loader.loaded.add(onLoaded);
loader.load();
Returns this error:
Assets.hx:220: [openfl.Assets] There is no String or ByteArray asset with an ID of "asset.xml"
I know it works if i put the asset.xml file inside OpenFL's asset folder, but doesn't it defeat the whole purpose of using a loader?
I'm using the latest version of the libs from Haxelib: OpenFL (1.0.6), mloader (2.2.0), Haxe (3.0.0).
Sorry about posting this as an issue (this may well be a misuse of the lib on my part), but there is no other place to post questions or comments about the library.
Thanks!
Hi, i have been trying to use mloader with OpenFL, however, the loader does not find any assets at runtime. Example (file tree):
Trying to load asset.xml:
Returns this error:
I know it works if i put the asset.xml file inside OpenFL's asset folder, but doesn't it defeat the whole purpose of using a loader?
I'm using the latest version of the libs from Haxelib: OpenFL (1.0.6), mloader (2.2.0), Haxe (3.0.0).
Sorry about posting this as an issue (this may well be a misuse of the lib on my part), but there is no other place to post questions or comments about the library.
Thanks!