Any ideas on this?
Thanks much,
Ania.
--- In ydn-javascript@yahoogroups.com, "aniad" <aniad@...> wrote:
>
> I create a panel into which I display a flex widget in an iframe. The
> cost of creating the widget and its utility is such that we want to
> create it once and hide it when not shown. Because of quirks in
> browsers, hiding a flex widget often makes its external APIs/functions
> impossible to access, therefore I "hide" the panel, with flex in an
> iframe in it, by putting it at negative xy coordinates. That seems to
> work fine. However, there is an issue with modality. When first
> creating the panel I create it "modal:false" as it is only created and
> put off-screen (not shown), however, when the panel is to be shown we
> want it modal. I tried:
>
> myPanel.cfg.setProperty ( "modal", true );
>
> but that didn't work, ie the panel still showed up modless. Is there
> a way to change the `modal' attribute of a panel once it is created?
>
> Thank you,
> Ania.
>