4 Replies Latest reply on Jul 20, 2007 5:13 AM by msabljic

    How to access component's control from main .mxml file?

    msabljic Level 1
      I have a main .mxml while in which i imported custom "popUpWindow" component using "import components.popUpWindow" statement. In main .mxml file I display later on that component as popUp window using popUp manager class:

      var popUpWin:IFlexDisplayObject;
      popUpWin = PopUpManager.createPopUp(this, popUpWindow, true);

      Once component is displayed, how can i access using actionscript component's TextInput control (specifically its .text property) from my main .mxml file?

      thanks