This looks like a Bead candidate. I would take TextPromptBead as an example. The zIndex is analogous to prompt, although you would probably want to update the zIndex every time it’s changed on the bead, not just when the bead is added. I’m not sure why it doesn’t work that way in TextPromptBead.
From: Harbs<mailto:harbs.li...@gmail.com> Sent: Tuesday, July 26, 2016 5:30 PM To: dev<mailto:dev@flex.apache.org> Subject: [FlexJS] UIBase z-order Currently, there’s no way to specify the z-order of FlexJS objects. It’s probably possible to use obj.style.zOrder = val, but that would only work on the JS side. To work on the Flash side as well, we’d need to use the zOrder style attribute as well as the depth property of a Flash Display object. The easiest way to do this would be to add another property to UIBase with conditional compiling. It’s not a lot of code, but I know we’re trying to keep the size of the base classes down. Is there a more “FlexJS-y” way of doing this? Thanks, Harbs