2 Replies Latest reply on Mar 23, 2011 6:07 AM by Tanu Jain

    Dynamic switch positions of two VBox  inside a HBox

    2009 Matt Level 1

      I have a design issure, which is something like:

       

      <mx:HBox>

            <mx:VBox id="vb1">

               //contains Image and Text

            </mx:VBox>

       

            <mx:VBox id="vb2">

               //contains Text

            </mx:VBox>

       

      </mx:HBox>

       

      I like to switch the positions of the two VBox with just one click on a button. I think it can also be done by swarping the

      contents of the two VBox so it looks switch of the two VBox. Maybe drag and Drop on the VBoxes? Any suggestions? Thx.