Skip to main content
Known Participant
July 19, 2011
Question

'preloading' for ios?

  • July 19, 2011
  • 2 replies
  • 624 views

I'm currently running into a problem with my application where in when it first boots up on the device (iOS), it initially runs fairly slow.  After a second or two, its fine and runs a quick as you please.

I can only guess that it is continuing to load in data to RAM after the initial native 'default loading' screen. And during this process it is running slowly (until it finishes loading all its data).

I'm not loading any external data into my application. Everything is contained in one SWF and assets are linked in from a single library.

I've delt with creating loaders that load external data into a .swf (imgs, external swfs, etc).  I'm curious if there is a method to check weather or not the application has fully loaded? Preferably via code and no funky timeline tricks. With this I could then make a loading screen.

Worst case scenario I just make loading screen that is merely a timer to give the application the couple of seconds it needs to finish loading up, but I would prefer to do it the correct way.

Thanks,

dis

This topic has been closed for replies.

2 replies

Participating Frequently
August 23, 2011

If you are displaying a lot of graphics it takes a while for it to cache on the GPU (if you're using GPU mode). Try having a static screen first while caching all your graphics to the GPU.

Known Participant
August 23, 2011

Me too!

can you find trick?

I guess that hanging load all air native machine to Ram,

So resume App play smooth

my problem is that

Start app, load and play swf,

Sounds bad, choppy!

start then use Home button. Hang and resume app,

load and play the swf in same way,

Sounds well,smooth!