From: Karthik [EMAIL PROTECTED]
Subject: Re: [Flashcoders] Z sorting multiple overlapping movie
clips
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1
why not mc.swapDepths
/
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
--
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 flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1
why
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.
//
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 clips
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 (the
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 item, the
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 that is if the item you click
: 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, Grant Davies [EMAIL
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
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
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
12 matches
Mail list logo