flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Kessler <kesslerconsult...@gmail.com>
Subject Re: question on modules
Date Mon, 02 Sep 2013 22:42:38 GMT
Well if it's not the parentApplication or doesn't have a parent.  You could
add a property to the child module and have it's parent assign a reference
to it.


-Mark


On Mon, Sep 2, 2013 at 6:40 PM, Maurice Amsellem <
maurice.amsellem@systar.com> wrote:

> Hello,
>
> Does someone know how to get the module instance (ie subclass of spark
> Module) where a given UI component is defined, in a multi-module
> application.
>
> Walking up the parent tree does not work if the UI component belongs to a
> popup.
>
> I also tried using  UIComponent.moduleFactory, and the info() properties
>  ( currentDomain, mainClassName, etc.) , but without success.
>
> Thanks for your help.
>
> Maurice
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message