public synchronized void cres(int id, int frame, Indir<Resource> res, Message sdt) {
        Gob g = getgob(id, frame);
        if (g == null)
            return;
        ResDrawable d = (ResDrawable) g.getattr(Drawable.class);
        if ((d == null) || (d.res != res) || (d.sdt.blob.length > 0) || (sdt.blob.length > 0)) {
            g.setattr(new ResDrawable(g, res, sdt));
        }
    }