Hi Shreyas , I always pass them using getter and setter methods . Let me know if you have problem.
Regards Kiran On Fri, Apr 2, 2010 at 12:59 PM, Shreyas <[email protected]> wrote: > Well, I could solve it using a static variable. > > Are there any better ways? > > On Apr 2, 9:32 pm, Shreyas <[email protected]> wrote: > > Hi, > > > > In my main application, on the click of a button, I am displaying a > > component as popup using the code- > > > > PopUpManager.createPopUp(this,components.ComponentName, true) as > > TitleWindow; > > > > I want to initialize some of the public properties of the component > > ComponentName, how can this be achieved? > > > > I tried to instantiate and then pass it to popup, but I get the > > following error- "Implicit coercion of a value of type > > components:ComponentName to an unrelated type Class." > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- 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.

