Flash MX 2004.
document.arrange(arrangeMode)
arrangeMode Specifies the direction in which to move the selection. Acceptable values are "back", "backward", "forward", and "front". It provides the same capabilities as these options provide on the Modify >Arrange menu.
Nothing.
Method; arranges the selection on the Stage. This method applies only to non-shape objects.
The following example moves the current selection to the front:
fl.getDocumentDOM().arrange("front");