View Full Version : selection array inner-workings

03-19-2007, 02:58 AM
I've found something interesting, and annoying about the selection array. Or maybe it was already common knowledge? If so ignore me...

But apparently, if you select multiple objects using any method you choose, it ALWAYS, no matter what, orders the selection array in the opposite order the objects were put on the stage. Among the items selected, selection[0] will always be the most recent one added to the stage.

So say I add symbol A to the stage, then symbol B, then symbol C. Then selection all 3 objects, symbol C would be at selection[0].
If I select A and B only, B would be at selection[0].

It's very annoying in my opinion. It should push objects onto the array in the order they are selected...
Oh well...