I'm assuming it's setChildIndex('some number');, where the 'some number' is the level in the stacking order and controled with the MOUSE_DOWN and MOUSE_UP handlers.

it 'knows' which level to switch to with a conditional if statement with hitTestObject.

Hope this helps and leads you in the right direction.