I just tried your extension and got some bugs:
When I try to load many images with big size (ex: more than 15 images with total 20 megabytes), my App got crash and return to home screen.
Actually the loading take 54 seconds and sometimes on 30-40 seconds the app will crash.
When loading is running, if I have animation / movie clip all of my animations / movie clip is stop (not responding) until loading is finished.
If I touch the screen while my app loading the textures, and after the loading finished, the touch event is called on the next page.
Example: I have 3 screens, first is loading screen, second is main screen and third is game screen.
If the game is loading and I touch the loading screen at the position of button at main screen, after the loading finished, the button is triggered, it's same as if i press the button and then press the game it also nested until game.
This is weird because I put touch event function after loading is completed.
private function onAddedToStage():void
_loadingScreen = new LoadingScreen();
AssetsLibrary.prepareTextures(["picture1", "picture2", "picture3", "picture4", "picture5", "picture6", "picture7", "picture8", "picture9", "picture10", "picture11", "picture12", "picture31", "picture14", "ButtonAtlas"], onLoadingComplete);
private function onLoadingComplete():void
private function drawScreen():void
_button = new Button(
_button .x = 150;
_button .y = 500;
_button .addEventListener(Event.TRIGGERED, onTriggered);
FYI, I'm using:
iOS 5.1.1 (iPad 3)
Flash Builder 4.6
Adobe Air 3.3
Starling Framework System-57eaa02