When i call :
PopUpManager.addPopUp(image, this, true);
from flex module i got error "Error #1009: Cannot access a property or method of a null object reference.". So i studied some documentation and i should call somehow popUpManager from parent aplication , right ? How ? I Tried parentApplication.popUpManager, but this property does not exists.
Second question :
Imagine application with two modules - video module and datatable module. When modules are loaded and begins load application data, how to create two independent loading screen for each module ? . I guess it would not be easy because there is only parent application popupmanager.
The first issue is explained in the release notes. You have to put
PopUpManager in the main app. In a script block in the main app add:
For the second issue, you can use more than one mx:ProgressBar if you want
But When i use Progress bar, i have to know how many seconds lefts, how many datas is already loaded ...
There are Progress events from the module as it loads. You can hook those
up to the ProgressBar.