2 Replies Latest reply on Feb 9, 2009 10:24 AM by Gregory Lafrance

    Tile Problem

    PlumbSoldier
      Hi, don't know if this is the right place to post this doubt, but here goes.

      I have a populated tile component, the children of this tile can be removed by user.
      I'm checking on ChildExistenceChangedEvent if the numChildren-1 ==0, if so i change the tile.tilewidth and tile.tileheight to full tile.width and height and i'm adding a label telling that are no children. So far so good, the problem comes and i try to repopulate the tile and try to remove the label. The label don't get removed if i try tile.removechildAt(0) or tile.removechild(label). If i try the tile.removeAllChildren() the browser hangs (ie and ff).
      Can anyone help me how to solve this??
      Thanks