public SWFTag read(int tagID, SWFInputStream swf, int len) throws IOException {

    DoAction tag = new DoAction();
    tag.actions = new Vector<Action>();
    Action action = swf.readAction();
    while (action != null) {
      tag.actions.add(action);
      action = swf.readAction();
    }
    return tag;
  }
 public SWFTag read(int tagID, SWFInputStream swf, int len) throws IOException {
   RemoveObject2 tag = new RemoveObject2();
   tag.depth = swf.readUnsignedShort();
   return tag;
 }