I know that loading methods return Future
instances, but I couldnt find out if it’s possible to use them to cancel runtime loading.
Assets.loadLibrary(someLibrary).onComplete(loadComplete).onProgress(loadProgress).onError(loadError);
private function loadError(error:Dynamic):Void
{
//An error screen is shown here, and I want to abort further loading to save traffic
}