0 Replies Latest reply on Aug 17, 2009 11:25 AM by stevemcl5

    How do I remove and add the same object in Gumbo?

    stevemcl5 Level 1

      Hi, I have this working in Flex 3:

      I am removing a button from one hBox and placing it into another hBox when I change to state='state1'

       

          <mx:states>
              <mx:State name="state1">
                      <mx:RemoveChild target="{button1}"/>
                
                      <mx:AddChild target="{button1}" relativeTo="{middlehbox}" position="lastChild" />
                   
              </mx:State>

       

      How do I accomplish this in Gumbo,

       

      for my button:

       

      includeIn="??"

      thanks,

      steve