Skip navigation
Currently Being Moderated

iOS Default.png and the 6sec Black Screen

Jun 29, 2012 8:55 AM

Tags: #as3 #ios #actionscript #loader #default.png

Greetings fellow scripters!

 

 

I'm at the 99% point with my app and have hit this terrible final snag.  Everything runs great.  Art looks crisp, sound is a nice fidelity, and the whole app is only 32mb in its .ipa form.  This is all fine, but I can't seem to get rid of this long black screen. 

 

The Default.png loads and unloads in less than a second, then there is a long awkward pause before the .swf finally adds to the display list.

 

 

Things I've tried:

-Using a tiny loader .swf and loading in the big .swf.  Much of it contains AS, so it just loads in the stage and bugs.

-Optimization.  I brought it from 112 to 32mb, and that's the best I can do without losing too much quality.

-The iPad simulator.  It loads fine there.  Loader class works and everything.

 

 

I'm surprised that I haven't seen tons of people complaining about this, but I'm definitely open to the possibility that I'm doing something weird.  If anyone has overcome this hurdle and would like to offer some expert advice, I would be greatful.

 

Thanks!

Blake

 
Replies
  • Currently Being Moderated
    Jun 29, 2012 9:10 AM   in reply to _wblakeharris

    Try putting a copy of the png in the first frame

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 29, 2012 1:40 PM   in reply to _wblakeharris

    yes i have two, maybe is to heavy your file, my larger file is 12 mb

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 3, 2012 9:39 PM   in reply to _wblakeharris

    try adding one of these in addition to your Default.png: Default-Landscape.png

     
    |
    Mark as:

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