Maybe I'm not making sense when I explain what I want...I want my
left-hand navigation menu to ALWAYS be on top of EVERYTHING...no matter
how many pop-up windows I pop-up using the PopupManager, I still want
that left-hand menu to lay on top of everything...even these TitleWindow
pop-ups I'm openings using the PopupManager...is that possible?

Is there a way to set the depth of my menu so it is ALWAYS on top
(DepthManager.setDepthTo(kTopmost)) for my menu VBox component?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, June 09, 2005 2:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] question about popup manager

On 6/8/05, Robert Brueckmann <[EMAIL PROTECTED]> wrote:

[snip]

> Despite my call to set the depth of my menu above the News popup, the
depths
> are still the same and the news remains on top of everything else. 

> 
> Why isn't the setDepthAbove call working? 

It works only for siblings.  See this code, it doesn't work:

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";
  xmlns="*">
  <mx:Canvas>
    <mx:Box id="box1" x="10" y="10" width="200" height="200"
backgroundColor="red" />
    <mx:Box id="box2Parent" >
      <mx:Box id="box2" x="20" y="20" width="200" height="200"
backgroundColor="yellow" />
    </mx:Box>
  </mx:Canvas>
  <mx:Button label="Click Here" click="box1.setDepthAbove(box2);
alert(box1.depth + ':' + box2.depth)" />
</mx:Application>

If you replace 'box2' with 'box2Parent' in the click handler for the
"Click Here" button, it'll work.  So I think you should try to find
the sibling for the menu in the TitleWindow's parent chain (or vice
versa) and then try to set the depth for it.


 
Yahoo! Groups Links



 
--------------------------------------------------------

This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
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/
 


Reply via email to