# DepthManager.setDepthTo()
> > >
> > > see the documentation for more info... http://livedocs.macromedia.com/
> > > flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?
> > > context=LiveDocs_Parts&file=3458.html
> > >
> > > Also, see t
cumentation for more info... http://livedocs.macromedia.com/
> > flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?
> > context=LiveDocs_Parts&file=00003458.html
> >
> > Also, see this chattyfig thread... http://chattyfig.figleaf.com/
> > pipermail/flashcoders/2004-May/111796.html
> >
> > More info on
;
> Also, see this chattyfig thread... http://chattyfig.figleaf.com/
> pipermail/flashcoders/2004-May/111796.html
>
> More info on managers from macromedia... http://www.macromedia.com/
> devnet/flash/articles/component_architecture_06.html
>
>
> Hope this helps..
>
> S
>
> > -
omedia.com/
devnet/flash/articles/component_architecture_06.html
Hope this helps..
S
--
Message: 4
Date: Thu, 2 Mar 2006 11:46:23 +0530
From: Karthik <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips
To: "Flashcoders mailing list&q
mc.swapDepths(getNextHighestDepth() ) works with me. It puts it above the rest.
"Parameters
target:Object - This parameter can take one of two forms:
- A Number that specifies the depth level where the movie clip is to
be placed.
- A String that specifies the movie clip instance whose depth is
> why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many
> movieclips?
That's what I'm doing.. but without getNextHighestDepth which is (was)
buggy when used with v2 components.
-K
___
Flashcoders@chattyfig.figleaf.com
To change your sub
Sent: Thursday, March 02, 2006 12:26 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips
why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many
movieclips?
On 3/2/06, Karthik <[EMAIL PROTECTED]> wrote:
>
> On 02/03/06, Gra
Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips
why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many
movieclips?
On 3/2/06, Karthik <[EMAIL PROTECTED]> wrote:
>
> On 02/03/06, Grant Davies <[EMAIL PROTECTED]> wrote:
> > Problem with
why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many
movieclips?
On 3/2/06, Karthik <[EMAIL PROTECTED]> wrote:
>
> On 02/03/06, Grant Davies <[EMAIL PROTECTED]> wrote:
> > Problem with that is if the item you click on is under other items and
> > it swaps depths with the top ite
On 02/03/06, Grant Davies <[EMAIL PROTECTED]> wrote:
> Problem with that is if the item you click on is under other items and
> it swaps depths with the top item, the top item then appears under
> things it wasn't. I did it this way first and it looked very weird.
Not really - I'm swapping with (
er is preserved just like in a windowing
system.
Cheers,
Grant
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karthik
Sent: Wednesday, March 01, 2006 4:27 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clip
On 01/03/06, Byron Canfield <[EMAIL PROTECTED]> wrote:
> You can make it a lot easier by doing some of the prep work for that
> architecture in the for loop that you use to first create and assign
> depths to those movieclips.
It might be a lot simpler to just do something like:
// Untested.
// A
You can make it a lot easier by doing some of the prep work for that
architecture in the for loop that you use to first create and assign
depths to those movieclips.
This isn't exactly OOP, but it demonstrates the architecture:
var qtyClips:Number = 4;
var nbrDepthOffset:Number = 7;
var rraClips:
Does anyone have a an algorithm for Z sorting multiple overlapping
clips...
I have an array of clips and when one is clicked I want it to come to
the top, but I want the other overlapping items to also shift
appropriately...
So
Item [1] at depth 10
Item [2] at depth 9
Item [3] at depth 8
Item [4
14 matches
Mail list logo