Hi, I have two containers which basically have draggable panels inside(components). on a button click I would like the panel(component) to change the parent container.. example..
container A has three panels(components) inside Panel1,Panel2,and Panel3. Once I click on a button in either one of the panels i want the Panel(component) to move to container B. So it is no longer in A , now it is in B. How is this possible...
also.. how do you make a panel dissapear...destroy it.. on button click ??
RemoveChild/addChild or removeElement/addElement
to remove panel from conatiner A
In Flex 3 say A.removechild(panel) Flex 4 A.removeElement(panel)
to add panel in to Container B
In Flex 3 say b.addchild(panel) Flex 4 B.addElement(panel)
to disapper panel say panel.visible = false.
to appear it again say panel.visible = true