Working with Flash Builder 4.5 I have implemented a custom preloader by extending SparkDownloadProgressBar. Now I want the preloader to stay on the screen until my Application has loaded in external data. Once the Application external data has loaded, I want to have the preloader dispatch the Event.COMPLETE event.
The intent is to have a 3 phase preloader. 1st load the RSLs, 2nd the SWF, 3rd application will load the data.
I've overridden the initCompleteHandler function so it does not fire the Event.COMPLETE event once the swf is loaded. I have a public function in the preloader called removePreloader which fires the Event.COMPLETE event.
There is a property in the Application named preloader but it's null.
How can my application call the preloader?
Thanks, Gary