On 2/3/06, Scott Langeberg <[EMAIL PROTECTED]> wrote:
>    Anyone found how to control the depths of windows created in such a 
> manner?:
>
>             private var p1:IFlexDisplayObject;
>             private var p2:IFlexDisplayObject;
>
>             private function init() {
>                 p1 = PopUpManager.createPopUp(this, comps.TestPanel, false);
>                 p2 = PopUpManager.createPopUp(this, comps.TestPanel, false);
>            }
>
> I want to be able to overlap popups and exchange their depths, so the one 
> clicked overlaps all others.

p1.parent.setChildIndex(p2.parent.getChildIndex(p2) + 1 /* or -1 or 0 */);


--
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