Skip navigation
prasadj4u
Currently Being Moderated

AIR for iOS app crashes on iOS 5.1

Dec 11, 2012 4:50 AM

Tags: #crash #air_3 #ios5.1 #swf_to_video #ios_video #air_mobile_video #air3.6

I am developing an AIR app which packages multiple video files in swf format. Users of the app are supposed to create a movie by creating a sequence of these swf files. The ipa file size is around 200MB. I have done some graphic optimizations such as using bitmaps wherever possible, avoid using filters and blend modes etc. The app works just fine on iOS6/iPad3 however it crashes on iOS5.1/iPad3. After checking device logs using xcode on Mac, it appears that the app is crashing because of low memory. The real problem seems to be loading of swfs which keeps adding on to memory usage with every swf load. The Loader.unload() method does not work on iOS, so it seems that I have hit a dead end. I have no clue as to how to tackle this memory issue without unload.

I tried the latest AIR SDK 3.6 Beta, but the video swfs just don't load and hence I cannot use the application. I had specified loader context with application domain set to current domain. According to adobe labs page they have added support for packaging and loading of multiple swfs and better memory management in AIR 3.6, however until I can load the swf its of no use to me.

I am using following setup: Flash Professional CS6 AIR SDK 3.5.0.600 iPad 3/iOS 5.1

I would really appreciate any help in this regard.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points