2 Replies Latest reply on Oct 22, 2009 5:02 PM by BastiaanWilderom

    How to pass data within main application and  many components

    BastiaanWilderom Level 1

      Hy folks I am a newbie


      I created an application that uses 3 components created by me.


      The main application  main,mxml  have 3 buttons named  AButton Bbutton Cbutton


      Pressing each button I invoke one one off the 3 components

      (I am using ViewStack, to invoke each component after cliking each button)


      AButton invoke ComponentA


      BButton invoke ComponentB


      CButton invoke ComponentC



      My problem is how can i obtain (and use) in ComponetB  the value of a public variable previosly

      created in the ComponentA.


      thanks in advance