getLayer().removeChild(foregroundNode); getLayer().addChild(foregroundNode);
    public void thumbnailsAdded(Thumbnail[] ts)    {        if(ts == null || ts.length == 0) return;        for(int i=0;i<ts.length;i++)        {            ts[i].setMouseDownActions(defaultTDownActions);            ts[i].setMouseOverActions(defaultTOverActions);            getLayer().addChild(ts[i]);        }        updateThumbnails();    }