On 12/20/05, sn197412 <[EMAIL PROTECTED]> wrote:

> 1. There two or more PopupWindow with a MenuBar.
> 2. I want to change PopupWindow's z-index on mouseDown event.
> 3. ActionScript3.0 for Changing PopupWindow's z-index is below.
>     this.parent.setChildIndex(this,this.parent.numChildren);
>
> Then MenuItem doesn't work.
> It looks like crashing events.

If you want to change the z-index (depth) of one window to be lower or
higher than another, here's how I'd do it:

 var p:DisplayObjectContainer = window1.parent;
 p.setChildIndex(window1, p.getChildIndex(window2));

Manish


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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