public void write(FlashOutput fob) { if (def != null) { fob.writeTag(Tag.REMOVEOBJECT, 4); fob.writeDefID(def); fob.writeWord(depth); } else { fob.writeTag(Tag.REMOVEOBJECT2, 2); fob.writeWord(depth); } }