Re: [flexcoders] Event before preinitialize

2010-06-10 Thread dorkie dork from dorktown
Thanks guys. I went with the preloader approach as that had the fastest startup time. I'll provide numbers in the next message. On Fri, Jun 4, 2010 at 10:43 AM, Anatole Tartakovsky anatole.tartakov...@gmail.com wrote: This is an old article of what you are trying to do :

Re: [flexcoders] Event before preinitialize

2010-06-10 Thread dorkie dork from dorktown
Gordon or Alex, Here are the numbers. Excuse the length. This is in ms from the launch of the application using getTimer(). Preloader constructor 314 Preloader initialize 316 Preloader progress event 388 [SWF] /app-debug/home.swf - 3,520,823 bytes after decompression progress event 626 progress

Re: [flexcoders] Event before preinitialize

2010-06-10 Thread Alex Harui
What does the URL look like? If there’s a “#” in it, a FlashPlayer bug will delay until the entire SWF downloads. Your main SWF is 3.5Mb even when using RSLs. Is all that needed for the first screen? Modules will offload some of that to later and speed everything up. On 6/10/10 6:01 PM,

Re: [flexcoders] Event before preinitialize

2010-06-04 Thread Anatole Tartakovsky
This is an old article of what you are trying to do : http://flexblog.faratasystems.com/2006/09/20/flex-developers-and-the-need-to-understand-flash There should be also article by Ted Patrick on the topic dated around the same time. Thank you Anatole On Fri, Jun 4, 2010 at 12:16 AM, Andriy

RE: [flexcoders] Event before preinitialize

2010-06-03 Thread Gordon Smith
I don't think so. How early do you need it? Why isn't preinitialize early enough? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Thursday, June 03, 2010 12:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

Re: [flexcoders] Event before preinitialize

2010-06-03 Thread dorkie dork from dorktown
it's taking a couple of seconds to reach the preinitialize event. according to this slideshow http://www.slideshare.net/michael.labriola/dense-and-hot-360-flex slide 24, 25 etc there are a couple things going on that i don't need early on. so i'd like to check the contents of a shared object or

Re: [flexcoders] Event before preinitialize

2010-06-03 Thread Kerry Thompson
it's taking a couple of seconds to reach the preinitialize event. according to this slideshow http://www.slideshare.net/michael.labriola/dense-and-hot-360-flex slide 24, 25 etc there are a couple things going on that i don't need early on. so i'd like to check the contents of a shared

Re: [flexcoders] Event before preinitialize

2010-06-03 Thread dorkie dork from dorktown
That's what I'd like to do. So I added an event listener to the application preinitialized event like so: s:Application preinitialize=myHandler() / the problem is, in my application it takes a while to get to that event. so that's why I'm trying to find another event that happens sooner than

Re: [flexcoders] Event before preinitialize

2010-06-03 Thread Andriy Panas
Hi Judah, AFAIK, you have 2 approaches to execute the code before preinitialize event is fired. 1) Mark you class with metadata [Mixin] and put the code in need into method public static function init(systemManager:ISystemManager): See HowTo create your developer ToolBox with Mixins blog