MoveToFront - manno-xx/haxe-openfl-examples GitHub Wiki
An example of the common 'move to front' functionality. By clicking on an item it is taken out of the current order of elements and becomes the front most item. Useful for inspection of items like a card in a deck or hand of cards.
It uses the setChildIndex() method of the DisplayContainer class.