3 Replies Latest reply on Jun 25, 2008 3:24 PM by ntsiii

    pass a variable between the MXML.


      I have some problem sharing a variable and confuess of which function to use to share object because I did some research and they said about LocalConnection, ShareObject & modular loader and I not sure which one to use as I very new to flex hope to learn something from this forum.

      Here is my problem:
      I got two mxml name App1 & App2. I got this variable name "randomNumber" and every second is updated with new number and it pass to App2.mxml to use it. I have tried SharedObject but I do not know how to access ShareObject from App2.mxml or is there a better way of passing the value to App2.mxml?

      Thank you very much for reading my post.......