Thanks Alex! i ll try the dictionary way.


On Mon, 21 Apr 2008 08:24:02 +0200, Alex Harui <[EMAIL PROTECTED]> wrote:

> moduleInfo is not a display list object and therefore there is no
> hierarchy to have a capture phase.
>
>
> You'll have to implement some way of tracking loaded modules.  A
> dictionary of ModuleInfos might work.
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of sebastienpastor
> Sent: Sunday, April 20, 2008 1:36 AM
> To: [email protected]
> Subject: [flexcoders] detecting ModuleEvent.READY from anywhere in
> application
>
>
> Hello all,
>
> I have this application with many modules. I am using ModuleManager
> to preload them. What i try to achieve is to be able to detect when a
> module is ready to be instanciated from the main application and
> other modules (that have been loaded before the modules they are
> about to use of course)
>
> I thought i could use a thing like this :
>
> addEventListener(ModuleEvent.READY,myHandler)
>
> from anywhere in my Application and other nmodules. But it seems like
> there is no bubbles phase at all, and cannot seem to detect the
> capture phase.
>
> Of course, myModuleInfo.addEventListener(ModuleEvent.READY,myHandler)
> works perfectly.
> Is there absolutely no way to capture ModuleEvent.READY except from a
> ModuleInfo object ? or am i doin somehting very wrong ? Any help
> would be greatly appreciated.
>
> Thanks
>
> Sebastien
>
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to