1 Reply Latest reply on Mar 26, 2010 5:47 AM by noSleepDemon

    Adding ViewStack style '+' '-' buttons to a component in Design View

    noSleepDemon

      Hi folks,

       

      I'm creating a filing cabinet style container that pulls out the selected child to make it visible, but I'm not extending ViewStack as it hides all children except the visible child, and I need the tops of each component to be visible. I've created the component which extends mx.containers.Canvas, but would love to be able to add the next/last/add/remove child buttons that become visible when a ViewStack is selected in design view to better facilitate adding children to the component. I can't find any metadata tags that would specify these controls to appear. Is there a way to do this?

       

      Any help/thoughts appreciated, image attached for clarity on what exactly I meant by 'child buttons':

       

      stackcontrols.jpg