~~NOTOC~~ ====== Zindex ====== ---- dataentry extension ---- author_mail : matteofumagalli1275@gmail.com Matteo Fumagalli description : zindex support lastupdate_dt : 2015-10-15 # the date you created the extension compatible : v1.1 # the Starling version you tested the extension with depends : # if the ext. depends on others, list them here tags : # enter a few tags, separated by commas homepage_url : https://github.com/kemondori/starling_zindex download_url : https://github.com/kemondori/starling_zindex ---- ===== Overview ===== Simple class to help sorting objects by zindex. Useful if you need to integrete some kind of visual editor project in starling. Usage: Add object: LayerSorter.add_obj(display_object_container,display_object,zindex); Remove object: LayerSorter.remove_obj(display_object_container,display_object); Remove all from container: LayerSorter.remove_all(display_object_container); Every child of the container must be added using this class. You can't mix normal AddChild with LayerSorter.add_obj. ===== Changelog ===== * //2015/10/14 11:47//: First public version