[flexcoders] Re: Adding custom events to the pre-loading sequence

2008-02-21 Thread M@ Sheppard
hannes: That is exactly what I was looking for. Thank you! M@

[flexcoders] Re: Adding custom events to the pre-loading sequence

2008-01-25 Thread Shivani
Hi, I have a similar kind of a problem i.e. i need to show a preloader till the data is not available on the screen. can u plz send the the details so that i can use it in my code... Thanks Regards Shivani --- In flexcoders@yahoogroups.com, rudmonster [EMAIL PROTECTED] wrote: Hello,

[flexcoders] Re: Adding custom events to the pre-loading sequence

2007-12-06 Thread dave_defusion
rudmonster, an example would be good as I've not been able to announce custom events from the app that the preloader seems to see, unless I use the previous suggestion. My solution to preload the stylesheets was to do it within the preloader itself so have a 2 step preload, only once both steps

[flexcoders] Re: Adding custom events to the pre-loading sequence

2007-12-05 Thread dave_defusion
I'm just trying to do the same thing for our app today and there must be a way, surely it's quite a common requirement. All I want to do is load the runtime styles a quick check to the backend, but the loading the styles is the most important thing.

[flexcoders] Re: Adding custom events to the pre-loading sequence

2007-12-05 Thread hannes.stockner
Now I have a possible solution: CustomPreloader: private function onFlexInitComplete(event:Event):void { //now we can access the Application.application Application.application.addEventListener(AppReadyEvent.READY, onAppReadyEvent); } private function

[flexcoders] Re: Adding custom events to the pre-loading sequence

2007-12-05 Thread rudmonster
Hello, I posted an answer this morning but I dont see it so let me try again (first time posting :) All you need to do is extend mx.preloader.Download progressbar then override the FlexEvent.INIT_COMPLETE you can then control when your preloader will end ...see here (sorry ...I am

[flexcoders] Re: Adding custom events to the pre-loading sequence

2007-12-05 Thread hannes.stockner
I can't believe that there is no other possibility! Someone has an idea? Thanks --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: One possibility is to draw an identical popup over the app when the app starts up. From: