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].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to