It changed:

myparent.setChildIndex(mychild, myparent.numChildren-1);

Or just:

myparent.addChild(mychild);

Even if it's already a child. It just removes and readds on the top.


Zeh

Lord, Susan, CTR, DSS wrote:
AS3.
I tried swapDepth() and getDepth, and a fewothers but none worked. Has
it changed since AS2?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt S.
Sent: Monday, September 29, 2008 3:02 PM
To: Flash Coders List
Subject: [BULK] Re: [Flashcoders] Layering, drawing a blank
Importance: Low

AS2 or AS3?

On Mon, Sep 29, 2008 at 2:48 PM, Lord, Susan, CTR, DSS
<[EMAIL PROTECTED]> wrote:
Hi there,

I cannot for the life of me remember what the method is to have a
layer
come to the top of the stacking order when you click it.

Any help you can provide is appreciated!
Thanks,
Susan
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to