I’m using Stencyl Engine, not sure about openFL/Lime versione but you can find the fork here (openfl 3.6.1 lime 2.9.1). I’m working for a lot of time in order to have my game Flash version. Now I’m facing Android version.
As a result of my tests I’ve found an issue, a deep issue, not experimented in flash.
Using this code:
public function loadSomething(urlRequest:URLRequest) {
var loader = new Loader();
loader.load(urlRequest);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, processResult);
}
private function processResult(event:Event) {
doSomething(event);
}
i’ve experiment a delay of 2-3 seconds from load to processResult. I’ve try in a local (192) network and loading something from web with almost same delay.
Have you never experiment something like that? Have you a path can I follow to work around?
Thanks a lot, David.
Hi Joshua thanks for replying. I test only http resources.
To work around this issue I’m working to produce an extension using JNI to call directly using Android APIs. What do you think about? Any advice?
Issue seem regards only Android, in flash standard loader is very good for our needs. About this lib, use the standard Loader Class? Because delay on response seems involve stardard loader.