RE: [flexcoders] Re: Popup windows behaving oddly (partial solution)

2005-06-14 Thread Matt Chotin










*cough*

 

Bring up FlexBuilder and debug an
app.  Set a breakpoint, under the Debug menu open up Files.

 

Same type of opportunity with fdb.









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Tuesday, June 14, 2005 2:07
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
Popup windows behaving oddly (partial solution)



 

Well hook us the )(*$% up, then dang it!  Even an accidental link
to a proxy 
server with a zip that accidentally contains them
would be... oh, how do I 
say it... Awesome?  Helpful?  Needed?

:: gets on knee's and begs ::

- Original Message - 
From: "Manish Jethani"
<[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Tuesday, June 14, 2005 4:25 PM
Subject: Re: [flexcoders] Re: Popup windows
behaving oddly (partial 
solution)


On 6/15/05, JesterXL
<[EMAIL PROTECTED]> wrote:

> ... I gave up looking for centerPopUp in the
Flex For Flash classes...

It was added in Flex 1.5 (and I think the
FlexforFlash classes are 
outdated).



Yahoo! Groups Links



















Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












Re: [flexcoders] Re: Popup windows behaving oddly (partial solution)

2005-06-14 Thread JesterXL
Well hook us the )(*$% up, then dang it!  Even an accidental link to a proxy 
server with a zip that accidentally contains them would be... oh, how do I 
say it... Awesome?  Helpful?  Needed?

:: gets on knee's and begs ::

- Original Message - 
From: "Manish Jethani" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, June 14, 2005 4:25 PM
Subject: Re: [flexcoders] Re: Popup windows behaving oddly (partial 
solution)


On 6/15/05, JesterXL <[EMAIL PROTECTED]> wrote:

> ... I gave up looking for centerPopUp in the Flex For Flash classes...

It was added in Flex 1.5 (and I think the FlexforFlash classes are 
outdated).



Yahoo! Groups Links









 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Re: Popup windows behaving oddly (partial solution)

2005-06-14 Thread Manish Jethani
On 6/15/05, JesterXL <[EMAIL PROTECTED]> wrote:

> ... I gave up looking for centerPopUp in the Flex For Flash classes...

It was added in Flex 1.5 (and I think the FlexforFlash classes are outdated).


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Re: Popup windows behaving oddly (partial solution)

2005-06-14 Thread JesterXL
It'd help if I could search the code to find your answer...

*ahem*

Basically, the parent is used to to know where to create the popup.  If you 
are having popups appear under other popups, it's probably because their 
parents differ.  Things aren't linear.

If you want linear, make all parents reference _root, or:

mx.core.Application.application

That way, you'll always have a common way of dealing with modality.  I think 
the point of parent, though was those Views further up the chain probably 
generate more important events to be handled, and thus since their parents 
are further up the stack, the Windows in your face are assumed to be the 
most important.

... I gave up looking for centerPopUp in the Flex For Flash classes...

- Original Message - 
From: "Eric Raymond" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, June 14, 2005 2:18 PM
Subject: [flexcoders] Re: Popup windows behaving oddly (partial solution)


Well not always!  For some strange reason the popup manager is very
sensative to the parent you pass in as a parameter.

Question: Does the popup manager use the parent for anything else?
Does it determine the z-depth of the window relative to other windows?
 Does it associate the visibility of the popup to it's parent
(which may be in a viewstack)?  My experience suggests the anwers is
"no" but  that could just be pilot error.


--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> centerPopUp makes them align and center.
>
> - Original Message - 
> From: "Eric Raymond" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, June 13, 2005 7:49 PM
> Subject: [flexcoders] Re: Popup windows behaving oddly (partial
solution)
>
>
> I can make the popup not appear behind the other windows if I get rid
> of any height="0" settings on Text fields on the page (that combined
> with visible=false allows me to hide various elements).  Setting
> height="1" makes the problem go away!
>
> I'm not sure if this is a necessary or complete set of conditions.
>
> This appears to be a very strange Flex bug!  The content of a window
> can cause a popup to be buried!
>
> Now onto a way to make the windows align and center!
>
>
>
>
>
>
> Yahoo! Groups Links






Yahoo! Groups Links









 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Popup windows behaving oddly (partial solution)

2005-06-14 Thread Eric Raymond
Well not always!  For some strange reason the popup manager is very
sensative to the parent you pass in as a parameter.

Question: Does the popup manager use the parent for anything else? 
Does it determine the z-depth of the window relative to other windows?
 Does it associate the visibility of the popup to it's parent
(which may be in a viewstack)?  My experience suggests the anwers is
"no" but  that could just be pilot error.


--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> centerPopUp makes them align and center.
> 
> - Original Message - 
> From: "Eric Raymond" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, June 13, 2005 7:49 PM
> Subject: [flexcoders] Re: Popup windows behaving oddly (partial
solution)
> 
> 
> I can make the popup not appear behind the other windows if I get rid
> of any height="0" settings on Text fields on the page (that combined
> with visible=false allows me to hide various elements).  Setting
> height="1" makes the problem go away!
> 
> I'm not sure if this is a necessary or complete set of conditions.
> 
> This appears to be a very strange Flex bug!  The content of a window
> can cause a popup to be buried!
> 
> Now onto a way to make the windows align and center!
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Re: Popup windows behaving oddly (partial solution)

2005-06-13 Thread JesterXL
centerPopUp makes them align and center.

- Original Message - 
From: "Eric Raymond" <[EMAIL PROTECTED]>
To: 
Sent: Monday, June 13, 2005 7:49 PM
Subject: [flexcoders] Re: Popup windows behaving oddly (partial solution)


I can make the popup not appear behind the other windows if I get rid
of any height="0" settings on Text fields on the page (that combined
with visible=false allows me to hide various elements).  Setting
height="1" makes the problem go away!

I'm not sure if this is a necessary or complete set of conditions.

This appears to be a very strange Flex bug!  The content of a window
can cause a popup to be buried!

Now onto a way to make the windows align and center!





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Popup windows behaving oddly (partial solution)

2005-06-13 Thread Eric Raymond
This solution combined with Andrew Spaulding's suggestion (user _root
as the parent in createPopUp and
MovieClip(mx.core.Application.application) in centerPopUp seemsto be
working.  But neither alone is enough.

FYI, in the cause where height="0", the page contained a form (and
I've seen forms do some pretty bizarre things wrt to layout).

--- In flexcoders@yahoogroups.com, "Eric Raymond"
<[EMAIL PROTECTED]> wrote:
> I can make the popup not appear behind the other windows if I get rid
> of any height="0" settings on Text fields on the page (that combined
> with visible=false allows me to hide various elements).  Setting
> height="1" makes the problem go away!
> 
> I'm not sure if this is a necessary or complete set of conditions.
> 
> This appears to be a very strange Flex bug!  The content of a window
> can cause a popup to be buried!
> 
> Now onto a way to make the windows align and center!




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Popup windows behaving oddly (partial solution)

2005-06-13 Thread Eric Raymond
I can make the popup not appear behind the other windows if I get rid
of any height="0" settings on Text fields on the page (that combined
with visible=false allows me to hide various elements).  Setting
height="1" makes the problem go away!

I'm not sure if this is a necessary or complete set of conditions.

This appears to be a very strange Flex bug!  The content of a window
can cause a popup to be buried!

Now onto a way to make the windows align and center!





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/