Highlighted

Android: App non-responsive while SWF Loading

Community Beginner ,
Nov 13, 2019

Copy link to clipboard

Copied

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?

TOPICS
Performance issues

Views

147

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Android: App non-responsive while SWF Loading

Community Beginner ,
Nov 13, 2019

Copy link to clipboard

Copied

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?

TOPICS
Performance issues

Views

148

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 13, 2019 0

Have something to add?

Join the conversation