Yep, that's pretty much what I was saying in my example.

No real need for sorting, either - or subsorting for that matter.

Ian

On 9/13/07, Joshua Sera <[EMAIL PROTECTED]> wrote:
>
> A quick clarification on using _y value to control z
> depth:
>
> You don't need to make sure no two objects share the
> same _y value.
>
> Every object should have some sort of unique ID
> between 0 and whatever you're multiplying the Y value
> by. In the example, an ID between 0 and 99.
>
> EX:
>
> var limit:Number = 100;
>
> this.swapdepths(this._y * limit + this.id);
>
> This means two objects can have the same _y value
> without overwriting each other, depth-wise.
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to