• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Android: App non-responsive while SWF Loading

Community Beginner ,
Nov 13, 2019 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

195

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
community guidelines