Hi varun, Ours is an web email application where i wanna access the email id from one component to another component. how can i share variables between two different components?? This is ma prob.. hope you got now what i am trying to do.. Thanks Mahi
On Apr 23, 12:05 am, vrathore <[email protected]> wrote: > Can you please share the code and let me know what do you really want > to achieve. > > Cheers > Varun Rathorehttp://www.vrathore.blogspot.com > > On Apr 22, 9:50 am, mahi <[email protected]> wrote: > > > > > hi varun > > Thanks for your idea.. i have choosen the first option which you > > mentioned.. When i use it there is no error getting fired.. but my > > component itself is not getting displayed.. > > Can you please give a solution for this > > > On Apr 21, 2:47 pm, vrathore <[email protected]> wrote: > > > > There are basically three ways to achieve the following:- > > > > 1. Using Refrence of the Screen eg:- > > > public static var screenRefrence : YourScreen; > > > //and then using > > > screenRefrence.variableName ; > > > > 2. You can use a singleTon Class and then use the variables in the > > > application decraled in Singleton class (As done in ModelLocator in > > > Cairngorm ) > > > > 3 Dispaching a Custom Event and Using the eventlistner to get the > > > values updated for the Sreen. > > > > Please let me know if you still face issues. > > > > Cheers > > > Varun Rathorehttp://www.vrathore.blogspot.com- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

