I think if you want to initialize it, then first create an object of the
component, set the properties and then create popup using the instance of
component.

On Fri, Apr 2, 2010 at 10:29 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.

Reply via email to