I think you will need to make your popup non-modal, then create "mouse
shields" over the components that you want to protect.

 

This is how modal popups work, by placing a transparent layer above the
application.  I have not done this but others have.  Look into the code
for modal popups.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Christoph Leva
Sent: Friday, October 10, 2008 10:19 AM
To: [email protected]
Subject: AW: [flexcoders] Re: modal PopUp with one component, that
should accept user interaction

 

Hi,

 

do you mean to create the PopUp as non modal and after that do
mx.core.Application.application.enabled = false?

You are right, it doesn't affect the popup, but disables all other
components. 

 

Think I confused you, here is an example: Lets say I have two Buttons
(Btn A and B) on stage. Each Button creates a PopUp. When I click on
Button A, the Pop Up appears, Button B will be disabled but Button A
stays enabled and accepts user interaction.

 

I want to use the PopUpManager for that and set the third parameter of
"PopUpManager.createPopUp" to true (modal). Anybody has done something
like that?

 

Christoph

 

________________________________

Von: [email protected] [mailto:[EMAIL PROTECTED] Im
Auftrag von valdhor
Gesendet: Freitag, 10. Oktober 2008 15:47
An: [email protected]
Betreff: [flexcoders] Re: modal PopUp with one component, that should
accept user interaction

Have you tried mx.core.Application.application.enabled = false?

I'm fairly sure this does not affect popups.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Christoph Leva"
<[EMAIL PROTECTED]> wrote:
>
> Hi Darrell,
> 
> thanks for the answer. I know that you use the third parameter to
make it
> modal. What I want is, that the component, from where I create the
popUp
> stays enabled. All the other components on stage should be disabled
(like
> setting the third parameter to "true").
> 
> I am looking for an easy way to solve it with the PopUpManager.
> 
> Christoph
> 
> _____ 
> 
> Von: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] Im
> Auftrag von Darrell Loverin
> Gesendet: Freitag, 10. Oktober 2008 05:11
> An: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Betreff: [flexcoders] Re: modal PopUp with one component, that
should accept
> user interaction
> 
> 
> 
> I may be misunderstanding your question but the third parameter of 
> the PopUpManager.addPopUp() fucntion is a Boolean that controls 
> whether the popup is modal or non-modal.
> 
> -Darrell
> 
> --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com>
ups.com,
> "Christoph Leva" 
> <christoph.leva@> wrote:
> >
> > Hi all,
> > 
> > I use the popUpManager to show a TitleWindow. I want it modal, but 
> exlude
> > the component from where I create the popUp. The result should be, 
> that this
> > one component and the titleWindow can be clicked on or interacted 
> with and
> > all other components should not react to user interaction.
> > 
> > Does anybody have an idea how to do it with the PopUpManager?
> > 
> > Cheers, Christoph
> >
>

 

Reply via email to