8 Replies Latest reply on Jul 19, 2011 6:34 AM by Scott R. Hamilton

    How to reference an object in a module from a popped up component

    Scott R. Hamilton Level 1

      Module A pops up  component B. Component B needs to access the data provider of a datagrin in Module A.


      How can this be done.


      I have tried everything I could think of or find on the net. I thought parent or parentDocument would be what I need but this done not work. A run time error occurs. I also tried casting the reference to the mxml module (MealPlan2):


      var parentRef:MealPlan2 = this.parentDocument as MealPlan2;


      Nothing works