4 Replies Latest reply on Jul 10, 2009 5:05 AM by Venkat,Flex Developer

    Communication between Parent and child mxml files in Flex2

    Venkat,Flex Developer Level 1


           I want to know how to access the parent page properties in the child page?

      Scenario is parent mxml file (Within the Application tags) having a text component with a value like "ABC". Child mxml file (within a TitleWindow) having some text input fields. I want to get the value of the parent screen text field value ("ABC") in the Child page when opening a popup window (child) by usingthe below code. Then i can use the parent text field value to any text fied of child component.


      public var popupwindow:IFlexDisplayObject = PopUpManager.createPopUp(this, childmxmlfilename , false);


      Anyone help me,please?