Re: Re[2]: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-10 Thread Flash Mel
Hey Ivan, thanks! Just getting around to replying. On 3/9/06, Iv <[EMAIL PROTECTED]> wrote: > > Hello Flash, > > FM> I am not allowed to use Flash 8 for this project. > FM> They want it published in Flash 6. From what I was reading the new > FM> DepthManager class only works with Flash 8. > > ht

Re[2]: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-09 Thread Iv
Hello, example of pyramidal depth management: MovieClip.prototype.addProperty("topDepth", function () { var mc, mcd, d; for (mcd in this) { if ((mc=this[mcd])._name == mcd & mc instanceof MovieClip & mc._parent == this) { return (d=this[mcd].getDepth()+1)<1 ? 1 : d; }

Re[2]: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-09 Thread Iv
Hello Flash, FM> I am not allowed to use Flash 8 for this project. FM> They want it published in Flash 6. From what I was reading the new FM> DepthManager class only works with Flash 8. http://proto.layer51.com/d.aspx?f=834 use property below main code. -- Ivan Dembicki __

Re: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-09 Thread Flash Mel
Thanks guys! I was reading the archives about the DepthManager class and peeked into the recent "z ordering" thread for some useful info. My one problem that I am running in to is that for whatever reason, my boss is telling me I am not allowed to use Flash 8 for this project. They want it publi

Re: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-08 Thread judah
I've found very little info on the DepthManager class. afaik, you need to increment the kTop property when you use it: var new_mc = myMovie.createObject(__rowRenderer, "new_mc", DepthManager.kTop++, {owner:this, styleName:this}); At the same time I find it useful to get the next highest depth

[Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-08 Thread Scott Pobiner
Hey Mel, Take a look at the DepthManager. You can use it for exactly what you are trying to do. The catch is that you have to instantiate the MovieClips you want to use via actionscript with the DepthManager functions. Remember to do this because the DepthManager needs to keep track o