My application's creationComplete="onInit()"
has a lot of processing. Therefore I want to mask the entire application with a lightbox-style loading screen while the processing is being handled. The screen should be dark and a loading animation image in the center. After onInit()
is completed the loading screen is removed.
My thoughts are to add a UIComponent
to the stage, and to remove it at the end of onInit()
. I am not sure if this is do-able or is there a better way. Thanks.