This diagram shows preloader startup in relation to startup of the main application.

The preloader startup sequence is shown in vertical boxes on the left. The preloader has a loading and initializing phase, and then the preloader starts.

The application startup sequence is shown in vertical boxes on the right. It consists of the following steps:

Loading Application Resources

Application Initializing

Application Started

Between these two sets of vertical boxes, there is a series of arrows pointing from the main application startup sequence to the preloader, representing notifications. During the loading stage of the application, the arrows are labeled progressNotification(). Between loading and initializing the application, the arrow is labeled BEFORE_INIT. Between application initialization and startup, the arrow is labeled BEFORE_START. See Example 9-1 for an example of preloader code that makes use of these notifications.