application loading complete
hi.
i have an air app for ios with everything embedded in the primary swf and using a doc class and some classes. it uses large retina bitmaps and gpu rendering. i didn't think i would need a preloader since there is a splash screen that sort of handles that. i thought the splash screen displayed until the app is fully loaded. i used the addedtostage event for my start up function but I'm still getting inconsistencies for some opening animation tweens which are called after init. (sometimes frames are skipped etc when the app opens on my ipad3.)
how can i make sure the entire code is initialized before my animations begin? I'm not loading anything so i assume i can't use loader COMPLETE.
or maybe my doc class is setup incorrectly. here is what i did:
public function DocClass() {
init();
}
public function init():void {
...initializing code...
addEventListener(Event.ADDED_TO_STAGE, startUpAnimation);
}
function startUpAnimation(event:Event):void {
...
}
(btw, i embedded everything in one swf since i believe at the time, air for iOS would not allow opening external swfs. i think this has been corrected with air 3.7 beta)
thank you.
