Re: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-10 Thread Tyler Wright
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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-08 Thread eric dolecki
/ 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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-02 Thread Scott Pobiner
-- 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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Karthik
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. //

RE: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Grant Davies
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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Karthik
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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Ramon Miguel M. Tayag
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

RE: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Grant Davies
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

RE: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Grant Davies
: 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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Karthik
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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Ramon Miguel M. Tayag
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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

2006-02-28 Thread Byron Canfield
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