0 Replies Latest reply on Jan 4, 2015 3:10 PM by austinsometin

    How can i pass variables from component MXML to main MXML

    austinsometin

      I have been struggling to pass some variables from my custom PanelTest.mxml to Main.mxml

       

      In my Main.mxml, i tried:

       

      import PanelTest;

      private var newVar:String;

      private var _panel:PanelTest;

      _panel.thisVar = newVar;

       

      I then bind the newVar to a Label textfield and nothing happens.

       

      Thanks