Re: [Flashcoders] Z sorting multiple overlapping movie clips

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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

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

Re: [Flashcoders] Z sorting multiple overlapping movie clips

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

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

RE: [Flashcoders] Z sorting multiple overlapping movie clips

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

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

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 ite

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 (

RE: [Flashcoders] Z sorting multiple overlapping movie clips

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

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. // A

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

[Flashcoders] Z sorting multiple overlapping movie clips

2006-02-27 Thread Grant Davies
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