3 Replies Latest reply on Jan 7, 2009 11:38 AM by Newsgroup_User

    Passing variable between components

    Mainmanian Level 1
      FD: I am a newbie to Flex.
      I have a simple consumer web application in which when a user logs in and gets authenticated (it is inside component #1), he is presented with a screen (it is a child state). In that screen is component #2 that has a form. User fills the form and the component writes that to a Db along with the user_id. The user_ID was originally passed from login component to the App via an event. Why is that user_id not visible inside Component #2?
      I woudl need user_id in every component within the main app. Is there a way I can make it available globally for that user session. Thanks in advance. Cheers