Hi,
When you try to access to a popup trougth a module first you create a
variable like TitleWindow and second assign the call at this, for example:
public var ventana:TitleWindow = new TitleWindow();
function Sample()
{
ventana =
PopUpManager.createPopUp(this,titleWindowSample,true) as TitleWindow;
PopUpManager.centerPopUp(ventana);
}
parentApplication.moduleComponentId.ventana.variableName.text = "";
El 02/09/2013 17:42, Mark Kessler escribió:
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 <
[email protected]> 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
--
Saludos Cordiales
Ing. Michael Astudillo
CEO
http://www.austrosoft.com.ec
PBX: 59372 818447
Facebook: http://www.facebook.com/AustroSoft
Twitter: @austrosoftec
NOTA SOBRE CONFIDENCIALIDAD:
La información contenida en este e-mail es confidencial y sólo puede ser utilizada
por la persona natural o jurídica, a la cual está dirigido. En el evento, que el
receptor no sea la persona autorizada cualquier retención, difusión, distribución o
copia de éste mensaje está prohibida y será sancionada por la ley".
CONFIDENTIALITY NOTE:
The information contained in this e-mail is confidential and is intended only for
the use of the address(es) named above. If you are not the intended recipient of
this electronic transmission, you are hereby notified that any dissemination or
copying of this transmission is strictly prohibited and will be sanctioned by
law".