Skip to main content
Participant
November 13, 2019
Question

Android: App non-responsive while SWF Loading

  • November 13, 2019
  • 0 replies
  • 230 views

Environment:
AIR SDK: 29
Android API: 15+

 

Problem Description:
We are using Loader class for loading our game swf file which is above 30MB.
But while loading the SWF (even though load function is non-blocking), touch or device back button doesn't work. It is making app non-responsive during that period. We are using below code. 

 

var swfLoader = new Loader();
var urlReq:URLRequest = new URLRequest("SWF_PATH");
var lc:LoaderContext = new LoaderContext(true, ApplicationDomain.currentDomain);
swfLoader.load(urlReq, lc);

 

Please look into this issue. Is there any way to load an SWF file without making app non-responsive?

This topic has been closed for replies.